Skip to content

Commit

Permalink
refactor: add the comment for the FileMD5
Browse files Browse the repository at this point in the history
  • Loading branch information
saltbo committed May 17, 2020
1 parent ee45236 commit fed5e5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"os"
)

// FileMD5 returns the file md5 hash hex
func FileMD5(filepath string) string {
f, err := os.Open(filepath)
if err != nil {
Expand Down

0 comments on commit fed5e5a

Please sign in to comment.