Versions in this module Expand all Collapse all v1 v1.0.1 Sep 25, 2020 v1.0.0 Sep 24, 2020 Changes in this version + func Diff(from, to []string) (both, add, del []string) + func ErrorIsEOF(err error) bool + func FormatBytes(size int64) string + func PathAbs(relPath, baseDir string) string + func PathNormalize(path string, isDir bool) string + func PathNormalizeBaseDir(baseDir string) string + func PathParents(path string) []string + func PathRel(absPath, baseDir string) string + func PathSorted(paths []string) []string + func PathSortedDirs(paths []string) []string + type Reader struct + OnComplete func(r *Reader) + OnProgress func(r *Reader) + func NewRead(r io.ReadCloser, len int64) *Reader + func (r *Reader) Close() error + func (r *Reader) GetBytesRead() int64 + func (r *Reader) GetBytesTotal() int64 + func (r *Reader) GetHashMd5() string + func (r *Reader) GetHashSha256() string + func (r *Reader) GetProgress() float64 + func (r *Reader) IsComplete() bool + func (r *Reader) Read(p []byte) (n int, err error)