MCPcopy
hub / github.com/simstudioai/sim / remove

Method remove

apps/sim/lib/core/utils/browser-storage.ts:131–135  ·  view source on GitHub ↗
(workspaceId: string)

Source from the content-addressed store, hash-verified

129 }
130
131 static remove(workspaceId: string): void {
132 const map = WorkspaceRecencyStorage.getAll()
133 delete map[workspaceId]
134 BrowserStorage.setItem(WorkspaceRecencyStorage.KEY, map)
135 }
136
137 /**
138 * Removes localStorage entries for workspace IDs not in the provided list.

Callers 15

store.test.tsFile · 0.80
parseBufferMethod · 0.80
syncThemeToNextThemesFunction · 0.80
pdf-lib.cjsFile · 0.80
PublicFileViewFunction · 0.80
error.test.tsxFile · 0.80
LogsFunction · 0.80
WorkspaceChromeFunction · 0.80
FilesFunction · 0.80
renderFunction · 0.80

Calls 2

getAllMethod · 0.80
setItemMethod · 0.80

Tested by

no test coverage detected