Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage: create parent directories if they don't exist #281

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

mpollmeier
Copy link
Contributor

prior to this change, the test would fail with:

java.io.FileNotFoundException: /tmp/foo/bar (No such file or directory)
	at java.base/java.io.RandomAccessFile.open0(Native Method)
	at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345)
	at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)
	at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214)
	at flatgraph.storage.Serialization$.writeGraph(Serialization.scala:23)

prior to this change, the test would fail with:
```
java.io.FileNotFoundException: /tmp/foo/bar (No such file or directory)
	at java.base/java.io.RandomAccessFile.open0(Native Method)
	at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345)
	at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)
	at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214)
	at flatgraph.storage.Serialization$.writeGraph(Serialization.scala:23)
```
@mpollmeier mpollmeier merged commit 066654d into master Dec 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants