MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / remove

Method remove

packages/oauth/src/storage.ts:119–127  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

117 }
118
119 async remove(name: string): Promise<void> {
120 try {
121 unlinkSync(this.pathFor(name));
122 } catch (error) {
123 if ((error as NodeJS.ErrnoException).code !== 'ENOENT') {
124 throw error;
125 }
126 }
127 }
128
129 async list(): Promise<string[]> {
130 let entries: string[];

Callers

nothing calls this directly

Calls 1

pathForMethod · 0.95

Tested by

no test coverage detected