get_dir_cwd

Function get_dir_cwd 

Source
pub fn get_dir_cwd() -> Result<String, String>
Expand description

Returns a string or None which is the path to the current working directory

§Examples

let result = match get_dir_cwd() { Ok( string_result ) => { string_result } Err( err ) => { panic!( “{}”, err, ) } };