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

Method #nextFileVersion

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

Source from the content-addressed store, hash-verified

98 }
99
100 #nextFileVersion(uri: string): number {
101 const current = this.#versions[uri] ?? -1;
102 const next = current + 1;
103 this.#versions[uri] = next;
104 return next;
105 }
106
107 #resolveLanguageIdForUri(uri: string): string {
108 if (typeof this.options.resolveLanguageId === "function") {

Callers 2

#getOrCreateFileMethod · 0.95
syncFilesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected