MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / remove

Function remove

pkg/webui/lib/cache.js:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37export const remove = key => {
38 const hashedKey = hashKey(key)
39 return localStorage.removeItem(hashedKey)
40}
41
42export const clearAll = () => localStorage.clear()

Callers

nothing calls this directly

Calls 1

hashKeyFunction · 0.85

Tested by

no test coverage detected