(hash, bytes)
| 413 | } |
| 414 | |
| 415 | function fnvHashBytes(hash, bytes) { |
| 416 | for (const byte of bytes) { |
| 417 | hash ^= BigInt(byte); |
| 418 | hash = (hash * FNV_PRIME) & FNV_MASK; |
| 419 | } |
| 420 | return hash; |
| 421 | } |
| 422 | |
| 423 | function normalizedSourcePath(file) { |
| 424 | return path.join("dashboard", file).split(path.sep).join("/"); |
no outgoing calls
no test coverage detected