-
Notifications
You must be signed in to change notification settings - Fork 25
Check if a file exists without creating it #25
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
Comments
You can't use |
I assumed, based on the constructor being listed as "Create a new file.", that that would mean that the file would then exist and have to be destroy()'d. Is that incorrect? |
Ya, the file is created lazily on the first write. We should update the docs to make it more clear |
Gotcha. Yes, that would help. Some of us do in fact RTFM. 😄 |
Creates only on write now also |
It would be awfully helpful if I had a way to check if a file existed without having to create it.
The text was updated successfully, but these errors were encountered: