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)
| 612 | |
| 613 | |
| 614 | public static HashCode hash(File file, HashFunction hashFunction) throws IOException { |
| 615 | return asByteSource(file).hash(hashFunction); |
| 616 | } |
| 617 | |
| 618 | /** |
| 619 | * Fully maps a file read-only in to memory as per |
nothing calls this directly
no test coverage detected