MCPcopy Create free account
hub / github.com/anomalyco/opencode / removeAsync

Function removeAsync

packages/app/src/utils/persist.ts:292–296  ·  view source on GitHub ↗
(storage: AsyncStorage, key: string)

Source from the content-addressed store, hash-verified

290}
291
292async function removeAsync(storage: AsyncStorage, key: string) {
293 try {
294 await storage.removeItem(key)
295 } catch {}
296}
297
298async function migrateLegacyAsync(input: {
299 current: AsyncStorage

Callers 1

migrateLegacyAsyncFunction · 0.85

Calls 1

removeItemMethod · 0.80

Tested by

no test coverage detected