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

Function emit_import_synthesis

atomic-cli/src/commands/git/import.rs:269–273  ·  view source on GitHub ↗

Record one import run's synthesis aggregation (review R5): the real per-branch import statistics, one bounded structured event, emitted only for repositories that opted in (consent-gated, lossy). The loss observable remains the per-fetch `binding_fetch` loss flag: an import never fetches bindings, so there is no per-import loss counter.

(repo: &Repository, stats: &ImportStats)

Source from the content-addressed store, hash-verified

267/// observable remains the per-fetch `binding_fetch` loss flag: an import
268/// never fetches bindings, so there is no per-import loss counter.
269fn emit_import_synthesis(repo: &Repository, stats: &ImportStats) {
270 // CB-13C F4: the shared emitter (partial failures pass
271 // `failed_after_landed` at their own site inside the writer).
272 super::parallel::emit_import_synthesis(repo, stats, None);
273}
274
275impl Import {
276 fn uses_span(&self) -> bool {

Callers 1

run_importMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected