1 2 3 4 5
pub fn get_current_dir() -> Option<String> { std::env::current_dir() .ok() .map(|p| p.to_string_lossy().to_string()) }