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

Function remove_impl

perro_source/api_modules/perro_web/src/storage.rs:88–93  ·  view source on GitHub ↗
(_: StorageScope, _: &str)

Source from the content-addressed store, hash-verified

86
87#[cfg(not(target_arch = "wasm32"))]
88fn remove_impl(_: StorageScope, _: &str) -> io::Result<()> {
89 Err(io::Error::new(
90 io::ErrorKind::Unsupported,
91 "web storage requires wasm32 target",
92 ))
93}
94
95#[cfg(target_arch = "wasm32")]
96fn encode_value(data: &[u8]) -> String {

Callers 1

removeFunction · 0.85

Calls 3

local_storageFunction · 0.85
session_storageFunction · 0.85
remove_cookie_valueFunction · 0.85

Tested by

no test coverage detected