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

Function is_graph_only_git_span

atomic-repository/src/repository/insert.rs:545–552  ·  view source on GitHub ↗
(change: &Change)

Source from the content-addressed store, hash-verified

543}
544
545fn is_graph_only_git_span(change: &Change) -> bool {
546 change.hashed.span.is_some()
547 && matches!(
548 change.origin(),
549 atomic_core::change::ChangeOrigin::GitSynthesized { .. }
550 )
551 && change.file_ops().is_empty()
552}
553
554fn index_replayed_git_span(
555 txn: &mut atomic_core::pristine::WriteTxn<'_>,

Callers 2

Calls 2

is_emptyMethod · 0.45
file_opsMethod · 0.45

Tested by

no test coverage detected