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

Method last_branch

atomic-core/src/record/workflow/crdt/builder/mod.rs:360–362  ·  view source on GitHub ↗

Returns the last allocated branch ID.

(&self)

Source from the content-addressed store, hash-verified

358
359 /// Returns the last allocated branch ID.
360 pub fn last_branch(&self) -> Option<BranchId> {
361 self.last_branch_id
362 }
363
364 /// Returns the last allocated leaf ID.
365 pub fn last_leaf(&self) -> Option<LeafId> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected