Documentation
¶
Overview ¶
Package testhelper provides some useful helpers for testing in github.com/diskfs/go-diskfs subpackages
Index ¶
- func DockerRun(input io.Reader, output io.Writer, trust, rm bool, mounts map[string]string, ...) error
- func DumpByteSlicesWithDiffs(a, b []byte, bytesPerRow int, showASCII, showPosHex, showPosDec bool) (different bool, out string)
- type FileImpl
- func (f *FileImpl) Close() error
- func (f *FileImpl) Read(b []byte) (int, error)
- func (f *FileImpl) ReadAt(b []byte, offset int64) (int, error)
- func (f *FileImpl) Seek(offset int64, whence int) (int64, error)
- func (f *FileImpl) Stat() (os.FileInfo, error)
- func (f *FileImpl) WriteAt(b []byte, offset int64) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileImpl ¶
type FileImpl struct { Reader reader Writer writer }
FileImpl implement github.com/diskfs/go-diskfs/util/File used for testing to enable stubbing out files
Click to show internal directories.
Click to hide internal directories.