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

Function source

atomic-repository/src/change_source/watchman.rs:208–217  ·  view source on GitHub ↗
(
        outputs: Vec<Result<CommandOutput, ChangeSourceError>>,
        limit: usize,
    )

Source from the content-addressed store, hash-verified

206 }
207
208 fn source(
209 outputs: Vec<Result<CommandOutput, ChangeSourceError>>,
210 limit: usize,
211 ) -> WatchmanChangeSource {
212 WatchmanChangeSource::with_runner(
213 Arc::new(FakeRunner(Mutex::new(outputs.into()))),
214 Duration::from_secs(1),
215 limit,
216 )
217 }
218
219 fn output(json: &str) -> Result<CommandOutput, ChangeSourceError> {
220 Ok(CommandOutput {

Calls 1

FakeRunnerClass · 0.70