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

Method observe

atomic-repository/src/change_source/scan.rs:128–135  ·  view source on GitHub ↗
(
        &self,
        root: &Path,
        path: &RepoPath,
        reason: ChangeCandidateReason,
    )

Source from the content-addressed store, hash-verified

126
127impl FilesystemProvider for RealFilesystemProvider {
128 fn observe(
129 &self,
130 root: &Path,
131 path: &RepoPath,
132 reason: ChangeCandidateReason,
133 ) -> Result<ChangeCandidate, ChangeSourceError> {
134 observe_candidate(root, path.clone(), reason)
135 }
136
137 fn canonical_content_id(
138 &self,

Callers 2

changes_with_providerMethod · 0.45
omission_lease_matchesFunction · 0.45

Calls 2

observe_candidateFunction · 0.85
cloneMethod · 0.45

Tested by

no test coverage detected