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

Method set_state

atomic-core/src/crdt/trunk.rs:228–230  ·  view source on GitHub ↗

Sets the trunk's state.

(&mut self, state: TrunkState)

Source from the content-addressed store, hash-verified

226
227 /// Sets the trunk's state.
228 pub fn set_state(&mut self, state: TrunkState) {
229 self.state = state;
230 }
231
232 /// Sets the trunk's path (for move operations).
233 pub fn set_path(&mut self, path: String) {

Callers 1

test_trunk_set_stateFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_trunk_set_stateFunction · 0.36