MCPcopy
hub / github.com/microsoft/vscode-languageserver-node / get

Method get

server/src/main.ts:210–212  ·  view source on GitHub ↗

* Returns the document for the given URI. Returns undefined if * the document is not mananged by this instance. * * @param uri The text document's URI to retrieve. * @return the text document or `undefined`.

(uri: string)

Source from the content-addressed store, hash-verified

208 * @return the text document or `undefined`.
209 */
210 public get(uri: string): TextDocument {
211 return this._documents[uri];
212 }
213
214 /**
215 * Returns all text documents managed by this instance.

Callers 15

unregisterMethod · 0.45
unregisterMethod · 0.45
unregisterFunction · 0.45
unregisterMethod · 0.45
unregisterMethod · 0.45
forceDocumentSyncFunction · 0.45
refreshTraceFunction · 0.45
hookFileEventsFunction · 0.45
handleApplyWorkspaceEditFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected