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

Function selected

atomic-repository/src/repository/status.rs:1471–1482  ·  view source on GitHub ↗
(
        mode: GitWatch,
        fsmonitor: Arc<dyn ChangeSource>,
        watchman: Arc<dyn ChangeSource>,
    )

Source from the content-addressed store, hash-verified

1469 }
1470
1471 fn selected(
1472 mode: GitWatch,
1473 fsmonitor: Arc<dyn ChangeSource>,
1474 watchman: Arc<dyn ChangeSource>,
1475 ) -> SelectedChangeSource {
1476 SelectedChangeSource::with_sources(
1477 mode,
1478 ChangeSourceEnvironment::default(),
1479 fsmonitor,
1480 watchman,
1481 )
1482 }
1483
1484 #[test]
1485 fn scan_adapters_candidate_disorder_and_failures_converge_in_status() {

Calls

no outgoing calls