MCPcopy Create free account
hub / github.com/bytebase/bytebase / remove

Method remove

frontend/src/utils/web-storage.ts:30–37  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

28 }
29
30 remove(key: string) {
31 const fullKey = `${this.keyPrefix}.${key}`;
32 try {
33 localStorage.removeItem(fullKey);
34 } catch {
35 // nothing
36 }
37 }
38
39 keys(): string[] {
40 const { length } = localStorage;

Callers 15

qp.min.jsFile · 0.80
renderIntoContainerFunction · 0.80
renderIntoContainerFunction · 0.80
renderFunction · 0.80
renderIntoContainerFunction · 0.80
unmountFunction · 0.80
renderIntoContainerFunction · 0.80

Calls

no outgoing calls

Tested by 15

renderIntoContainerFunction · 0.64
renderIntoContainerFunction · 0.64
renderFunction · 0.64
renderIntoContainerFunction · 0.64
unmountFunction · 0.64
renderIntoContainerFunction · 0.64
renderIntoContainerFunction · 0.64
renderIntoContainerFunction · 0.64
renderIntoContainerFunction · 0.64
renderIntoContainerFunction · 0.64
renderIntoContainerFunction · 0.64
renderIntoContainerFunction · 0.64