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

Method push

atomic-repository/src/repository/equivalence.rs:133–148  ·  view source on GitHub ↗
(
        &mut self,
        layer: EquivalenceLayer,
        kind: MismatchKind,
        path: Option<RepoPath>,
        expected: impl Into<String>,
        actual: impl Into<String>,
    )

Source from the content-addressed store, hash-verified

131 }
132
133 fn push(
134 &mut self,
135 layer: EquivalenceLayer,
136 kind: MismatchKind,
137 path: Option<RepoPath>,
138 expected: impl Into<String>,
139 actual: impl Into<String>,
140 ) {
141 self.mismatches.push(EquivalenceMismatch {
142 layer,
143 kind,
144 path,
145 expected: expected.into(),
146 actual: actual.into(),
147 });
148 }
149}
150
151/// Compare the Atomic project tree to the complete stage-aware Git index.

Callers 15

add_pathMethod · 0.45
add_provenanceMethod · 0.45
add_recorded_fileMethod · 0.45
add_deleted_fileMethod · 0.45
add_skipped_fileMethod · 0.45
add_errorMethod · 0.45
load_session_logMethod · 0.45
import_v3_bytesMethod · 0.45

Calls

no outgoing calls