(uri: URI, edits: Edit[], content: string)
| 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 | |
| 150 | export function createDocuments(fileHost: FileHost, shellServer?: ShellServer): Documents { |
nothing calls this directly
no test coverage detected