Versions in this module Expand all Collapse all v1 v1.4.0 Aug 19, 2016 Changes in this version + const BtrfsIocClone — linux/amd64 + func CleanPaths(paths, delim string) (cleaned []string) + func CloneFile(writer io.Writer, reader io.Reader) (bool, error) + func CopyWithCallback(writer io.Writer, reader io.Reader, totalSize int64, cb progress.CopyCallback) (int64, error) + func DirExists(path string) bool + func FileExists(path string) bool + func FileExistsOfSize(path string, sz int64) bool + func FileOrDirExists(path string) (exists bool, isDir bool) + func NewLfsContentHash() hash.Hash + func NewReadSeekCloserWrapper(r io.ReadSeeker) io.ReadCloser + func RenameFileCopyPermissions(srcfile, destfile string) error + func ResolveSymlinks(path string) string + func VerifyFileHash(oid, path string) error + type HashingReader struct + func NewHashingReader(r io.Reader) *HashingReader + func NewHashingReaderPreloadHash(r io.Reader, hash hash.Hash) *HashingReader + func (r *HashingReader) Hash() string + func (r *HashingReader) Read(b []byte) (int, error) + type StringSet map[string]struct + func NewStringSet() StringSet + func NewStringSetFromSlice(s []string) StringSet + func NewStringSetWithCapacity(capacity int) StringSet + func (set *StringSet) Clear() + func (set StringSet) Add(i string) bool + func (set StringSet) Cardinality() int + func (set StringSet) Clone() StringSet + func (set StringSet) Contains(i string) bool + func (set StringSet) ContainsAll(i ...string) bool + func (set StringSet) Difference(other StringSet) StringSet + func (set StringSet) Equal(other StringSet) bool + func (set StringSet) Intersect(other StringSet) StringSet + func (set StringSet) IsSubset(other StringSet) bool + func (set StringSet) IsSuperset(other StringSet) bool + func (set StringSet) Iter() <-chan string + func (set StringSet) Remove(i string) + func (set StringSet) SymmetricDifference(other StringSet) StringSet + func (set StringSet) Union(other StringSet) StringSet