Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnsupportedChecksumAlgorithm 不支持的校验和算法 ErrUnsupportedChecksumAlgorithm = errors.New("unsupported checksum algorithm") // ErrChecksumNotMatched 校验和不匹配 ErrChecksumNotMatched = errors.New("file checksum does not match the computed checksum") // ErrChecksumFileNotFound 校验和文件不存在 ErrChecksumFileNotFound = errors.New("checksum file not found") )
Functions ¶
func VerifyFile ¶
VerifyFile 检查目标文件校验和
Types ¶
Click to show internal directories.
Click to hide internal directories.