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

Method run

atomic-repository/src/change_source/fsmonitor.rs:250–252  ·  view source on GitHub ↗
(&self, _: &CommandSpec)

Source from the content-addressed store, hash-verified

248
249 impl CommandRunner for FakeRunner {
250 fn run(&self, _: &CommandSpec) -> Result<CommandOutput, ChangeSourceError> {
251 self.0.lock().unwrap().pop_front().unwrap()
252 }
253 }
254
255 fn output(stdout: &[u8]) -> Result<CommandOutput, ChangeSourceError> {

Callers 1

gitMethod · 0.45

Calls 2

lockMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected