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

Function save_bytes

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

Source from the content-addressed store, hash-verified

12}
13
14pub fn save_bytes(scope: StorageScope, key: &str, data: &[u8]) -> io::Result<()> {
15 save_bytes_impl(scope, key, data)
16}
17
18pub fn remove(scope: StorageScope, key: &str) -> io::Result<()> {
19 remove_impl(scope, key)

Callers 4

save_stringFunction · 0.70
save_local_bytesFunction · 0.70
save_session_bytesFunction · 0.70
save_cookie_bytesFunction · 0.70

Calls 1

save_bytes_implFunction · 0.85

Tested by

no test coverage detected