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

Method set_content_range

atomic-core/src/change/ops.rs:822–824  ·  view source on GitHub ↗

Set the content range (byte positions in the change content buffer). This is called during globalization to link the CRDT branch to its corresponding graph vertex position. # Arguments `start` - Start byte position in the change content buffer `end` - End byte position in the change content buffer

(&mut self, start: ChangePosition, end: ChangePosition)

Source from the content-addressed store, hash-verified

820 /// * `start` - Start byte position in the change content buffer
821 /// * `end` - End byte position in the change content buffer
822 pub fn set_content_range(&mut self, start: ChangePosition, end: ChangePosition) {
823 self.content_range = Some((start, end));
824 }
825
826 /// Set the content range using a builder pattern.
827 #[must_use]

Callers 4

fixtureFunction · 0.45
lineMethod · 0.45

Calls

no outgoing calls

Tested by 3

fixtureFunction · 0.36