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

Method phase3_finalize

atomic-cli/src/commands/git/parallel.rs:3383–3396  ·  view source on GitHub ↗

Phase 3: Finalization and verification.

(&self, stats: &ImportStats)

Source from the content-addressed store, hash-verified

3381
3382 /// Phase 3: Finalization and verification.
3383 fn phase3_finalize(&self, stats: &ImportStats) -> CliResult<()> {
3384 // Verify counts
3385 let expected = stats.commits_parsed;
3386 let actual = stats.changes_written + stats.empty_commits + stats.merge_commits;
3387
3388 if actual != expected {
3389 print_warning(&format!(
3390 "Verification: {} commits parsed but {} changes created",
3391 expected, actual
3392 ));
3393 }
3394
3395 Ok(())
3396 }
3397}
3398
3399// ═══════════════════════════════════════════════════════════════════════════

Callers 1

import_branchMethod · 0.80

Calls 1

print_warningFunction · 0.85

Tested by

no test coverage detected