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

Method new

atomic-core/src/crdt/ids.rs:63–68  ·  view source on GitHub ↗
(change_id: NodeId, file_idx: u32)

Source from the content-addressed store, hash-verified

61 /// Creates a new [`TrunkId`].
62 #[inline]
63 pub const fn new(change_id: NodeId, file_idx: u32) -> Self {
64 TrunkId {
65 change_id,
66 file_idx,
67 }
68 }
69
70 /// Returns the change that created this file.
71 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected