MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / save_string

Method save_string

src/storage.rs:48–50  ·  view source on GitHub ↗
(&self, path: &str, data: &str)

Source from the content-addressed store, hash-verified

46 }
47
48 pub async fn save_string(&self, path: &str, data: &str) -> Result<(), String> {
49 self.save_bytes(path, data.as_bytes()).await
50 }
51
52 pub async fn save_bytes(&self, path: &str, data: &[u8]) -> Result<(), String> {
53 #[cfg(not(target_arch = "wasm32"))]

Callers

nothing calls this directly

Calls 1

save_bytesMethod · 0.80

Tested by

no test coverage detected