Function af_core::env::workspace_path[][src]

pub fn workspace_path() -> Option<&'static str>

Returns the full file system path to the cargo workspace of the currently running executable.

If the currently running executable was not started by cargo run or a similar command, this function returns None.