Closed
Description
openedon Jun 10, 2022
The docs for std::fs::write
state that the target file will be made if it doesn't exist. However, at least on linux, if the directory path leading to the target file does not exist then the call will fail rather than first creating the necessary folders and then creating the file.
This is not strictly speaking wrong, but should likely be at least documented.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment