more md5sum() debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
8d1122b534
commit
a0db57edd2
|
@ -25,6 +25,8 @@ func hash_file_md5(filePath string) (string, error) {
|
|||
|
||||
// hash thyself: hash_file_md5(os.Args[0])
|
||||
func Md5sum(filename string) string {
|
||||
filename = Path(filename)
|
||||
log.Println("shell.Md5sum() START filename =", filename)
|
||||
hash, err := hash_file_md5(filename)
|
||||
if err == nil {
|
||||
log.Println("shell.Md5sum() hash =", hash)
|
||||
|
|
Loading…
Reference in New Issue