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

Method with_runner

atomic-repository/src/change_source/fsmonitor.rs:31–41  ·  view source on GitHub ↗
(
        runner: Arc<dyn CommandRunner>,
        timeout: Duration,
        max_candidates: usize,
    )

Source from the content-addressed store, hash-verified

29 }
30
31 pub fn with_runner(
32 runner: Arc<dyn CommandRunner>,
33 timeout: Duration,
34 max_candidates: usize,
35 ) -> Self {
36 Self {
37 runner,
38 timeout,
39 max_candidates,
40 }
41 }
42
43 fn git(&self, root: &Path, args: &[&str]) -> Result<CommandOutput, ChangeSourceError> {
44 let mut spec = CommandSpec::new("git", root);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected