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

Method insert_change

atomic-core/src/pristine/span_index.rs:30–32  ·  view source on GitHub ↗

Install the full span set for a change (called once after a range scan).

(&mut self, change_id: u64, set: BTreeSet<(u64, u64)>)

Source from the content-addressed store, hash-verified

28
29 /// Install the full span set for a change (called once after a range scan).
30 pub(crate) fn insert_change(&mut self, change_id: u64, set: BTreeSet<(u64, u64)>) {
31 self.spans.insert(change_id, set);
32 }
33
34 /// Record a newly written span for an already-tracked change.
35 ///

Callers 1

ensure_span_indexMethod · 0.45

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected