(
/** @type {string} */ name,
/** @type {Buffer} */ content,
/** @type {() => void} */ callback
)
| 61 | callback(err); |
| 62 | }, |
| 63 | writeFile( |
| 64 | /** @type {string} */ name, |
| 65 | /** @type {Buffer} */ content, |
| 66 | /** @type {() => void} */ callback |
| 67 | ) { |
| 68 | logs.writeFile.push(name, content); |
| 69 | files[name] = content.toString("utf8"); |
| 70 | callback(); |
| 71 | }, |
| 72 | stat( |
| 73 | /** @type {string} */ _path, |
| 74 | /** @type {(err: Error) => void} */ callback |