Skip to navigation
Returns the path of the current user's home directory if known rust
05.10.22
[dependencies] dirs = {version = "4.0.0"} use dirs; let home = dirs::home_dir(); println!("{:?}", home.unwrap());
https://crates.io/crates/dirs
Reply
Anonymous
Information Epoch 1745538342
Design for simplicity, add complexity only where you must.
Home
Notebook
Contact us