Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodSpeedHQ/codspeed
/ get_current_dir
Method
get_current_dir
src/executor/helpers/command.rs:80–82 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
78
}
79
80
pub fn get_current_dir(&self) -> Option<&OsStr> {
81
self.cwd.as_deref()
82
}
83
84
pub fn env_names(&self) -> impl Iterator<Item = &OsStr> {
85
self.envs.keys().map(OsString::as_os_str)
Callers
2
wrap_command
Method · 0.80
wrap_stopped
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected