Versions in this module Expand all Collapse all v1 v1.0.0 Jan 30, 2017 Changes in this version + var ErrClosed = errors.New("file: Writing on closed file.") + var ErrNotSupported = errors.New("feature not supported") + var ErrReadOnly = errors.New("this is a read-only filesystem") + type BaseFile struct + BaseFilename string + Closed bool + func (f *BaseFile) Filename() string + func (f *BaseFile) IsClosed() bool + type File interface + Filename func() string + IsClosed func() bool + type FileInfo os.FileInfo + type Filesystem interface + Base func() string + Create func(filename string) (File, error) + Dir func(path string) Filesystem + Join func(elem ...string) string + Open func(filename string) (File, error) + OpenFile func(filename string, flag int, perm os.FileMode) (File, error) + ReadDir func(path string) ([]FileInfo, error) + Remove func(filename string) error + Rename func(from, to string) error + Stat func(filename string) (FileInfo, error) + TempFile func(dir, prefix string) (File, error) Other modules containing this package gopkg.in/src-d/go-billy.v2 gopkg.in/src-d/go-billy.v3 gopkg.in/src-d/go-billy.v4