(filePath)
| 175 | } |
| 176 | |
| 177 | async function hashFile(filePath) { |
| 178 | const hash = createHash("sha1"); |
| 179 | hash.update(await fs.readFile(filePath)); |
| 180 | return hash.digest("hex"); |
| 181 | } |
| 182 | |
| 183 | async function visitSnapshot(rootPath, currentPath, entries) { |
| 184 | const directoryEntries = await fs.readdir(currentPath, { withFileTypes: true }); |
no test coverage detected