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

Function load_cookie_bytes

perro_source/api_modules/perro_web/src/storage.rs:59–61  ·  view source on GitHub ↗
(key: &str)

Source from the content-addressed store, hash-verified

57}
58
59pub fn load_cookie_bytes(key: &str) -> io::Result<Option<Vec<u8>>> {
60 load_bytes(StorageScope::Cookie, key)
61}
62
63pub fn save_cookie_bytes(key: &str, data: &[u8]) -> io::Result<()> {
64 save_bytes(StorageScope::Cookie, key, data)

Callers

nothing calls this directly

Calls 1

load_bytesFunction · 0.70

Tested by

no test coverage detected