Versions in this module Expand all Collapse all v0 v0.13.0 Apr 25, 2021 v0.12.0 Apr 25, 2021 Changes in this version + const GB + const KB + const MB + func CopyDir(fs afero.Fs, src string, dst string) error + func CopyFile(fs afero.Fs, src, dst string) error + func Exists(fs afero.Fs, path string) bool + func HashFile(fs afero.Fs, path string, hasher hash.Hash) (string, error) + func UnTarGz(dst string, r io.Reader) error + func ValidateByHash(fs afero.Fs, path, hashStr string) (bool, string, error) + type Getter interface + GetFile func(dst, src string, monitor ...*progress.Manual) error + GetToDir func(dst, src string, monitor ...*progress.Manual) error + type HashiGoGetter struct + func NewGetter() *HashiGoGetter + func (g HashiGoGetter) GetFile(dst, src string, monitors ...*progress.Manual) error + func (g HashiGoGetter) GetToDir(dst, src string, monitors ...*progress.Manual) error