Computes the hash code of the file using hashFunction. @param file the file to read @param hashFunction the hash function to use to hash the data @return the HashCode of all of the bytes in the file @throws IOException if an I/O error occurs @since 12.0
(File file, HashFunction hashFunction)
| 579 | * @since 12.0 |
| 580 | */ |
| 581 | public static HashCode hash(File file, HashFunction hashFunction) throws IOException { |
| 582 | return asByteSource(file).hash(hashFunction); |
| 583 | } |
| 584 | |
| 585 | /** |
| 586 | * Fully maps a file read-only in to memory as per |
nothing calls this directly
no test coverage detected