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

Method grant_privileges

src/executor/mod.rs:139–141  ·  view source on GitHub ↗

Grant any elevated privileges this executor needs (e.g. file capabilities). Runs after [`setup`](Self::setup) and may prompt for sudo. Defaults to a no-op for executors that need none.

(&self)

Source from the content-addressed store, hash-verified

137 /// Runs after [`setup`](Self::setup) and may prompt for sudo. Defaults to a
138 /// no-op for executors that need none.
139 fn grant_privileges(&self) -> Result<()> {
140 Ok(())
141 }
142
143 /// Runs the executor
144 async fn run(

Callers 3

setup_executorFunction · 0.45
run_executorFunction · 0.45
get_memory_executorFunction · 0.45

Implementers 3

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

Calls

no outgoing calls

Tested by 1

get_memory_executorFunction · 0.36