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:553–560  ·  view source on GitHub ↗
(change: &Change)

Source from the content-addressed store, hash-verified

551}
552
553fn is_graph_only_git_span(change: &Change) -> bool {
554 change.hashed.span.is_some()
555 && matches!(
556 change.origin(),
557 atomic_core::change::ChangeOrigin::GitSynthesized { .. }
558 )
559 && change.file_ops().is_empty()
560}
561
562fn index_replayed_git_span(
563 txn: &mut atomic_core::pristine::WriteTxn<'_>,

Callers 2

Calls 2

is_emptyMethod · 0.45
file_opsMethod · 0.45

Tested by

no test coverage detected