Skip to main content

documents_dir

Function documents_dir 

Source
pub fn documents_dir() -> Option<PathBuf>
Expand description

Where the platform puts a user’s documents, falling back to the home directory and then to the working directory — a machine with no Documents folder still gets a document somewhere it can find it. None where the platform names none of the three, the browser included.