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

Method setup

src/executor/mod.rs:132–139  ·  view source on GitHub ↗
(
        &self,
        _system_info: &SystemInfo,
        _setup_cache_dir: Option<&Path>,
        _run_environment: &RunEnvironment,
    )

Source from the content-addressed store, hash-verified

130 fn support_level(&self, system_info: &SystemInfo) -> ExecutorSupport;
131
132 async fn setup(
133 &self,
134 _system_info: &SystemInfo,
135 _setup_cache_dir: Option<&Path>,
136 _run_environment: &RunEnvironment,
137 ) -> Result<()> {
138 Ok(())
139 }
140
141 /// Grant any elevated privileges this executor needs (e.g. file capabilities).
142 /// Runs after [`setup`](Self::setup) and may prompt for sudo. Defaults to a

Callers 2

setup_and_grantFunction · 0.45
run_executorFunction · 0.45

Implementers 4

executor.rssrc/executor/wall_time/executor.rs
executor.rssrc/executor/memory/executor.rs
executor.rssrc/executor/analysis/executor.rs
executor.rssrc/executor/valgrind/executor.rs

Calls

no outgoing calls

Tested by

no test coverage detected