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

Method save

src/api.rs:90–96  ·  view source on GitHub ↗
(path: P, root_object: &T)

Source from the content-addressed store, hash-verified

88 /// **Note:** This method is not available on WASM targets.
89 #[cfg(not(target_arch = "wasm32"))]
90 pub fn save<T, P>(path: P, root_object: &T) -> Result<()>
91 where
92 T: ParcodeVisitor + Sync,
93 P: AsRef<Path>,
94 {
95 ParcodeOptions::default().save(path, root_object)
96 }
97
98 /// Writes an object to a generic writer with default settings.
99 ///

Callers

nothing calls this directly

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected