Function
writeFileAsync
(
path: string,
content: string,
encoding: BufferEncoding,
)
Source from the content-addressed store, hash-verified
| 90 | } |
| 91 | |
| 92 | export async function writeFileAsync( |
| 93 | path: string, |
| 94 | content: string, |
| 95 | encoding: BufferEncoding, |
| 96 | ): Promise<void> { |
| 97 | return vscode.workspace.fs.writeFile(vscode.Uri.parse(path), Buffer.from(content)); |
| 98 | } |
| 99 | |
| 100 | export async function accessAsync(path: string, mode: number) { |
| 101 | // no op in nodeless |
Callers
nothing calls this directly
Tested by
no test coverage detected