MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / #removeFileEntry

Method #removeFileEntry

src/cm/lsp/workspace.ts:95–98  ·  view source on GitHub ↗
(file: AcodeWorkspaceFile)

Source from the content-addressed store, hash-verified

93 }
94
95 #removeFileEntry(file: AcodeWorkspaceFile): void {
96 this.#fileMap.delete(file.uri);
97 this.files = this.files.filter((candidate) => candidate !== file);
98 }
99
100 #nextFileVersion(uri: string): number {
101 const current = this.#versions[uri] ?? -1;

Callers 1

closeFileMethod · 0.95

Calls 1

deleteMethod · 0.65

Tested by

no test coverage detected