(path: string, contents: string)
| 20 | } |
| 21 | |
| 22 | export async function writeFile(path: string, contents: string): Promise<void> { |
| 23 | assertAbsoluteFsPath("writeFile", path) |
| 24 | return invoke<void>("write_file", { path, contents }) |
| 25 | } |
| 26 | |
| 27 | export async function writeFileBase64(path: string, base64: string): Promise<void> { |
| 28 | assertAbsoluteFsPath("writeFileBase64", path) |
no test coverage detected