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

Method delete_token

atomic-core/src/record/workflow/crdt/builder/leaf.rs:83–86  ·  view source on GitHub ↗

Marks a token for deletion.

(&mut self, _leaf_id: LeafId)

Source from the content-addressed store, hash-verified

81
82 /// Marks a token for deletion.
83 pub fn delete_token(&mut self, _leaf_id: LeafId) {
84 // Track the deletion
85 self.stats.tokens_deleted += 1;
86 }
87
88 /// Replaces a token's content (preserving its ID for blame).
89 pub fn replace_token(&mut self, _leaf_id: LeafId, new_content: &[u8]) {

Callers 1

Calls

no outgoing calls

Tested by 1