Versions in this module Expand all Collapse all v0 v0.0.3 Aug 23, 2019 v0.0.2 Aug 1, 2019 Changes in this version + type FakeFileSystem struct + ChmodError map[string]error + ChmodFile []string + ChmodMode os.FileMode + CopyDest string + CopyError error + CopySource string + CreateContent FakeWriteCloser + CreateError error + CreateFile string + ExistsFile []string + ExistsResult map[string]bool + Files []os.FileInfo + MkdirAllDir []string + MkdirAllError error + MkdirDir string + MkdirError error + OpenCloseError error + OpenContent string + OpenError error + OpenFile string + OpenFileResult *FakeReadCloser + ReadlinkError error + ReadlinkName string + RemoveDirError error + RemoveDirName string + RenameError error + RenameFrom string + RenameTo string + SymlinkError error + SymlinkNewname string + SymlinkOldname string + WorkingDirCalled bool + WorkingDirError error + WorkingDirResult string + WriteFileContent string + WriteFileError error + WriteFileName string + func (f *FakeFileSystem) Chmod(file string, mode os.FileMode) error + func (f *FakeFileSystem) Copy(sourcePath, targetPath string) error + func (f *FakeFileSystem) CopyContents(sourcePath, targetPath string) error + func (f *FakeFileSystem) Create(file string) (io.WriteCloser, error) + func (f *FakeFileSystem) CreateWorkingDirectory() (string, error) + func (f *FakeFileSystem) Exists(file string) bool + func (f *FakeFileSystem) KeepSymlinks(k bool) + func (f *FakeFileSystem) Lstat(p string) (os.FileInfo, error) + func (f *FakeFileSystem) Mkdir(dirname string) error + func (f *FakeFileSystem) MkdirAll(dirname string) error + func (f *FakeFileSystem) MkdirAllWithPermissions(dirname string, perm os.FileMode) error + func (f *FakeFileSystem) Open(file string) (io.ReadCloser, error) + func (f *FakeFileSystem) ReadDir(p string) ([]os.FileInfo, error) + func (f *FakeFileSystem) Readlink(name string) (string, error) + func (f *FakeFileSystem) RemoveDirectory(dir string) error + func (f *FakeFileSystem) Rename(from, to string) error + func (f *FakeFileSystem) ShouldKeepSymlinks() bool + func (f *FakeFileSystem) Stat(p string) (os.FileInfo, error) + func (f *FakeFileSystem) Symlink(oldname, newname string) error + func (f *FakeFileSystem) Walk(root string, walkFn filepath.WalkFunc) error + func (f *FakeFileSystem) WriteFile(file string, data []byte) error + type FakeReadCloser struct + CloseCalled bool + CloseError error + func (f *FakeReadCloser) Close() error + type FakeWriteCloser struct + func (f *FakeWriteCloser) Close() error