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

Method local

atomic-core/src/change/format_v3/graph_fields/decode.rs:182–187  ·  view source on GitHub ↗
(&mut self, role: usize)

Source from the content-addressed store, hash-verified

180 owned(path)
181 }
182 fn local(&mut self, role: usize) -> FormatResult<Local> {
183 Ok(Local {
184 path: self.path()?,
185 line: self.n(LOCAL + role)?,
186 })
187 }
188 fn aux<T: serde::de::DeserializeOwned>(&mut self) -> FormatResult<T> {
189 let (value, rest) = postcard::take_from_bytes(self.aux)?;
190 self.aux = rest;

Callers 1

opMethod · 0.45

Calls 2

pathMethod · 0.45
nMethod · 0.45

Tested by

no test coverage detected