You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation currently shows an example of the Unix-only permissions function being used in combination with the Builder, but the documentation reads like the user is supposed to also check whether the permissions were set correctly in the resulting folder: https://docs.rs/tempfile/latest/tempfile/struct.Builder.html#method.permissions
Is it safe to assume that the directory / file will be created using the permissions that were explicitly stated to do so?
If not, should Builder also take on the responsibility of checking the resulting file / directory before returning it to the user? Should this be explicitly documented?
If yes, should this be explicitly documented?
The text was updated successfully, but these errors were encountered:
The documentation currently shows an example of the Unix-only permissions function being used in combination with the Builder, but the documentation reads like the user is supposed to also check whether the permissions were set correctly in the resulting folder: https://docs.rs/tempfile/latest/tempfile/struct.Builder.html#method.permissions
The text was updated successfully, but these errors were encountered: