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

Method with_sources

atomic-repository/src/change_source/selected.rs:52–64  ·  view source on GitHub ↗
(
        configured: GitWatch,
        environment: ChangeSourceEnvironment,
        fsmonitor: Arc<dyn ChangeSource>,
        watchman: Arc<dyn ChangeSource>,
    )

Source from the content-addressed store, hash-verified

50 }
51
52 pub fn with_sources(
53 configured: GitWatch,
54 environment: ChangeSourceEnvironment,
55 fsmonitor: Arc<dyn ChangeSource>,
56 watchman: Arc<dyn ChangeSource>,
57 ) -> Self {
58 Self {
59 configured,
60 environment,
61 fsmonitor,
62 watchman,
63 }
64 }
65
66 pub fn changes_with_tokens(
67 &self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected