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

Function source

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

Source from the content-addressed store, hash-verified

261 }
262
263 fn source(
264 outputs: Vec<Result<CommandOutput, ChangeSourceError>>,
265 limit: usize,
266 ) -> FsmonitorChangeSource {
267 FsmonitorChangeSource::with_runner(
268 Arc::new(FakeRunner(Mutex::new(outputs.into()))),
269 Duration::from_secs(1),
270 limit,
271 )
272 }
273
274 #[test]
275 fn implements_canonical_candidate_contract() {

Calls 1

FakeRunnerClass · 0.70

Tested by 2

preserves_typed_failuresFunction · 0.56