MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / current_dir

Method current_dir

src/executor/helpers/command.rs:73–78  ·  view source on GitHub ↗
(&mut self, dir: D)

Source from the content-addressed store, hash-verified

71 }
72
73 pub fn current_dir<D>(&mut self, dir: D)
74 where
75 D: AsRef<OsStr>,
76 {
77 self.cwd = Some(dir.as_ref().to_owned());
78 }
79
80 pub fn get_current_dir(&self) -> Option<&OsStr> {
81 self.cwd.as_deref()

Callers 15

walltime_bench_cmdMethod · 0.80
wrap_commandMethod · 0.80
buildMethod · 0.80
bench_cmdMethod · 0.80
command_inFunction · 0.80
measureFunction · 0.80
symlink_libpythonFunction · 0.80
uv_python_findFunction · 0.80
codspeed_cmdFunction · 0.80
codspeedFunction · 0.80

Calls

no outgoing calls