(filepath: string, content: string)
| 159 | } |
| 160 | |
| 161 | export async function writeFileContent(filepath: string, content: string): Promise<void> { |
| 162 | await ensureDir(dirname(filepath)); |
| 163 | await writeFile(filepath, content, "utf-8"); |
| 164 | } |
| 165 | |
| 166 | export async function writeFileBuffer(filepath: string, buffer: Buffer): Promise<void> { |
| 167 | await ensureDir(dirname(filepath)); |
searching dependent graphs…