MCPcopy Create free account
hub / github.com/RetypeOS/parcode / load

Method load

src/reader.rs:723–726  ·  view source on GitHub ↗

Fully deserializes the file content into memory (Eager). This is the equivalent of `Parcode::load()`, but on an already open file.

(&self)

Source from the content-addressed store, hash-verified

721 ///
722 /// This is the equivalent of `Parcode::load()`, but on an already open file.
723 pub fn load<T: ParcodeNative>(&self) -> Result<T> {
724 let root = self.root_node()?;
725 T::from_node(&root)
726 }
727
728 /// Returns a Lazy Mirror of the root object.
729 ///

Callers

nothing calls this directly

Calls 1

root_nodeMethod · 0.80

Tested by

no test coverage detected