MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / FakeRunner

Class FakeRunner

atomic-repository/src/change_source/watchman.rs:200–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198 use tempfile::tempdir;
199
200 struct FakeRunner(Mutex<VecDeque<Result<CommandOutput, ChangeSourceError>>>);
201
202 impl CommandRunner for FakeRunner {
203 fn run(&self, _: &CommandSpec) -> Result<CommandOutput, ChangeSourceError> {

Callers 1

sourceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected