[−][src]Function raylib::core::file::get_working_directory
pub fn get_working_directory() -> String
Gets current working directory.
use raylib::prelude::*; fn main() { let check = get_working_directory(); let current = std::env::current_dir().unwrap().to_str().unwrap().to_owned(); assert_eq!(check, current, "extension mismatch"); }