MCPcopy Index your code
hub / github.com/devcontainers/cli / readDocument

Method readDocument

src/spec-configuration/editableFiles.ts:133–139  ·  view source on GitHub ↗
(uri: URI)

Source from the content-addressed store, hash-verified

131 }
132
133 async readDocument(uri: URI) {
134 const documents = this.documents[uri.scheme];
135 if (!documents) {
136 throw new Error(`Unsupported scheme: ${uri.toString()}`);
137 }
138 return documents.readDocument(uri);
139 }
140
141 async applyEdits(uri: URI, edits: Edit[], content: string) {
142 const documents = this.documents[uri.scheme];

Callers

nothing calls this directly

Calls 1

readDocumentMethod · 0.65

Tested by

no test coverage detected