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

Method #getFileEntry

src/cm/lsp/workspace.ts:91–93  ·  view source on GitHub ↗
(uri: string)

Source from the content-addressed store, hash-verified

89 }
90
91 #getFileEntry(uri: string): AcodeWorkspaceFile | null {
92 return this.#fileMap.get(uri) ?? null;
93 }
94
95 #removeFileEntry(file: AcodeWorkspaceFile): void {
96 this.#fileMap.delete(file.uri);

Callers 4

closeFileMethod · 0.95
getFileMethod · 0.95
requestFileMethod · 0.95
updateFileMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected