maven_rs::settings::directories

Function get_settings_directory

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

Returns the path to the .m2 folder

If the home directory is not found, None is returned.

ยงExample

use maven_rs::settings::directories::get_settings_directory;
let path = get_settings_directory();
println!("{:?}", path);