Documentation ¶
Index ¶
- Constants
- func GetFileHashCRC32(filePath string) (sum uint32, err error)
- func GetFileHashFileExistence(filePath string) (sum bool, err error)
- func GetFileHashFileSize(filePath string) (sum int64, err error)
- func GetFileHashMD5(filePath string) (sum []byte, err error)
- func GetFileHashSHA256(filePath string) (sum []byte, err error)
Constants ¶
View Source
const (
ReadBufferSize = 1_048_576 // 1 MiB.
)
Variables ¶
This section is empty.
Functions ¶
func GetFileHashCRC32 ¶
func GetFileHashFileExistence ¶ added in v0.9.0
func GetFileHashFileSize ¶ added in v0.5.0
func GetFileHashMD5 ¶
func GetFileHashSHA256 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.