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

Method applyEdits

src/spec-configuration/editableFiles.ts:141–147  ·  view source on GitHub ↗
(uri: URI, edits: Edit[], content: string)

Source from the content-addressed store, hash-verified

139 }
140
141 async applyEdits(uri: URI, edits: Edit[], content: string) {
142 const documents = this.documents[uri.scheme];
143 if (!documents) {
144 throw new Error(`Unsupported scheme: ${uri.toString()}`);
145 }
146 return documents.applyEdits(uri, edits, content);
147 }
148}
149
150export function createDocuments(fileHost: FileHost, shellServer?: ShellServer): Documents {

Callers

nothing calls this directly

Calls 1

applyEditsMethod · 0.65

Tested by

no test coverage detected