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

Method observe

atomic-repository/src/change_source/performance.rs:69–80  ·  view source on GitHub ↗
(
        &self,
        _root: &Path,
        path: &RepoPath,
        reason: ChangeCandidateReason,
    )

Source from the content-addressed store, hash-verified

67
68impl FilesystemProvider for SyntheticFilesystem {
69 fn observe(
70 &self,
71 _root: &Path,
72 path: &RepoPath,
73 reason: ChangeCandidateReason,
74 ) -> Result<ChangeCandidate, ChangeSourceError> {
75 Ok(ChangeCandidate {
76 path: path.clone(),
77 reason,
78 observation: CandidateObservation::Present(self.observation(path)),
79 })
80 }
81
82 fn canonical_content_id(
83 &self,

Callers 1

incremental_sourceFunction · 0.45

Calls 2

observationMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected