MCPcopy Create free account
hub / github.com/PerroEngine/Perro / save_local_bytes

Function save_local_bytes

perro_source/api_modules/perro_web/src/storage.rs:39–41  ·  view source on GitHub ↗
(key: &str, data: &[u8])

Source from the content-addressed store, hash-verified

37}
38
39pub fn save_local_bytes(key: &str, data: &[u8]) -> io::Result<()> {
40 save_bytes(StorageScope::Local, key, data)
41}
42
43pub fn remove_local(key: &str) -> io::Result<()> {
44 remove(StorageScope::Local, key)

Callers 1

save_web_user_assetFunction · 0.85

Calls 1

save_bytesFunction · 0.70

Tested by

no test coverage detected