MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / current_dir

Function current_dir

euralios_std/src/env.rs:98–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96}
97
98pub fn current_dir() -> Result<PathBuf, VarError> {
99 let pwd = var("PWD")?;
100 Ok(PathBuf::from(
101 OsString::from(pwd)))
102}

Callers 3

_openMethod · 0.85
createMethod · 0.85
openMethod · 0.85

Calls 1

varFunction · 0.85

Tested by

no test coverage detected