Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashFile ¶
HashFile computes the sha1 hash of the named file. If successful, the result will be a 20-byte string of hash data, otherwise err will be set to the cause of the failure.
On some platforms (notably Linux), this will try to not update the atime on the file, so that it is still useful.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.