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

Function save_session_bytes

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

Source from the content-addressed store, hash-verified

49}
50
51pub fn save_session_bytes(key: &str, data: &[u8]) -> io::Result<()> {
52 save_bytes(StorageScope::Session, key, data)
53}
54
55pub fn remove_session(key: &str) -> io::Result<()> {
56 remove(StorageScope::Session, key)

Callers

nothing calls this directly

Calls 1

save_bytesFunction · 0.70

Tested by

no test coverage detected