Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileSize ¶
GetFileSize returns the size of a file in KB, or MB if > 1024 KB.
func NewPackageFile ¶
func NewPackageFile(filename string) (*types.PackageFile, error)
func SizeToString ¶
Types ¶
type HashManager ¶
type HashManager struct {
// contains filtered or unexported fields
}
HashManager struct to manage hash values
func NewHashManager ¶
func NewHashManager(filename string) (*HashManager, error)
NewHashManager creates a new HashManager
func (*HashManager) Hash ¶
func (hm *HashManager) Hash() error
func (*HashManager) HexDigest ¶
func (hm *HashManager) HexDigest() *Hexdigest
Click to show internal directories.
Click to hide internal directories.