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

Method leaf

atomic-core/src/change/format_v3/semantic/decode.rs:84–87  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

82 Ok(BranchId::new(o, i))
83 }
84 fn leaf(&mut self) -> FormatResult<LeafId> {
85 let (o, i) = self.id(false)?;
86 Ok(LeafId::new(o, i))
87 }
88 fn optional_branch(&mut self) -> FormatResult<Option<BranchId>> {
89 if self.flag(roles::BRANCH_AFTER)? {
90 Ok(Some(self.branch()?))

Callers 1

leavesMethod · 0.45

Calls 1

idMethod · 0.45

Tested by

no test coverage detected