Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
98
pub fn current_dir() -> Result<PathBuf, VarError> {
99
let pwd = var(
"PWD"
)?;
100
Ok(PathBuf::from(
101
OsString::from(pwd)))
102
}
Callers
3
_open
Method · 0.85
create
Method · 0.85
open
Method · 0.85
Calls
1
var
Function · 0.85
Tested by
no test coverage detected