MCPcopy Create free account
hub / github.com/MALSync/MALSync / clearValue

Method clearValue

src/utils/Cache.ts:77–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 }
76
77 async clearValue() {
78 if (this.localStorage) {
79 return localStore.removeItem(this.key);
80 }
81 return api.storage.remove(this.key);
82 }
83
84 protected async getStorage() {
85 if (this.localStorage) {

Callers 1

executeFunction · 0.80

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected