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

Function record_skip

atomic-repository/src/repository/semantic_materialize.rs:266–276  ·  view source on GitHub ↗
(
    outcome: &mut CrdtMaterializeOutcome,
    path: &str,
    reason: CrdtMaterializeSkipReason,
)

Source from the content-addressed store, hash-verified

264}
265
266fn record_skip(
267 outcome: &mut CrdtMaterializeOutcome,
268 path: &str,
269 reason: CrdtMaterializeSkipReason,
270) {
271 outcome.skip_stats.record(reason);
272 outcome.file_ops_skipped += 1;
273 if outcome.skip_samples.len() < 16 {
274 outcome.skip_samples.push(format!("{}:{:?}", path, reason));
275 }
276}
277
278fn is_git_import_change(change: &Change) -> bool {
279 change

Callers 1

Calls 3

recordMethod · 0.45
lenMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected