Documentation ¶
Index ¶
- func CalculateSha256(ctx context.Context, filePath string) (sha string, n int64, err error)
- func MustCalculateFileHash(filePath string) (sha string, n int64)
- func MustCalculateHash(file io.Reader) (sha string, n int64)
- func MustDecodeSha256String(shaString string) (sha [sha256.Size]byte)
- func MustHash(ctx context.Context, hashFilePath string) config.FileInfoMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateSha256 ¶ added in v1.3.2
func MustCalculateFileHash ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.