(hash: &mut u64, bytes: &[u8])
| 143 | } |
| 144 | |
| 145 | fn fnv_hash_bytes(hash: &mut u64, bytes: &[u8]) { |
| 146 | for byte in bytes { |
| 147 | *hash ^= u64::from(*byte); |
| 148 | *hash = hash.wrapping_mul(FNV_PRIME); |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | fn normalized_dashboard_source_path(path: &Path) -> String { |
| 153 | path.to_string_lossy().replace('\\', "/") |
no outgoing calls
no test coverage detected