(path)
| 56 | } |
| 57 | |
| 58 | function hashFile(path) { |
| 59 | return createHash('sha256').update(readFileSync(path)).digest('hex') |
| 60 | } |
| 61 | |
| 62 | // Only compare files that exist in both trees. Ignore sourcemaps (which embed |
| 63 | // absolute paths) and .br brotli files (which aren't byte-reproducible across |