Merge v2.10 into v3.0
This commit is contained in:
commit
e29a142f6a
118 changed files with 1324 additions and 1290 deletions
|
@ -4,6 +4,7 @@ import (
|
|||
zipa "archive/zip"
|
||||
"context"
|
||||
"crypto/sha256"
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
|
@ -421,5 +422,5 @@ func computeHash(filepath string) (string, error) {
|
|||
|
||||
sum := hash.Sum(nil)
|
||||
|
||||
return fmt.Sprintf("%x", sum), nil
|
||||
return hex.EncodeToString(sum), nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue