MCPcopy Create free account
hub / github.com/LeetCode-OpenSource/vscode-leetcode / deleteCache

Function deleteCache

src/commands/cache.ts:7–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5import { DialogType, promptForOpenOutputChannel } from "../utils/uiUtils";
6
7export async function deleteCache(): Promise<void> {
8 try {
9 await leetCodeExecutor.deleteCache();
10 } catch (error) {
11 await promptForOpenOutputChannel("Failed to delete cache. Please open the output channel for details.", DialogType.error);
12 }
13}

Callers 1

switchEndpointFunction · 0.90

Calls 2

deleteCacheMethod · 0.80

Tested by

no test coverage detected