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

Method set_line_hash

atomic-core/src/crdt/branch.rs:204–206  ·  view source on GitHub ↗

Sets the content hash.

(&mut self, hash: u64)

Source from the content-addressed store, hash-verified

202
203 /// Sets the content hash.
204 pub fn set_line_hash(&mut self, hash: u64) {
205 self.line_hash = hash;
206 }
207
208 /// Marks the branch as deleted.
209 pub fn delete(&mut self) {

Callers 2

test_branch_content_eqFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_branch_content_eqFunction · 0.64