Documentation ¶
Overview ¶
Package mounttest contains mount.FS wrappers for more thorough testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFS ¶
func NewFS(fs *mount.FS) interface { hackpadfs.FS hackpadfs.OpenFileFS hackpadfs.MkdirFS hackpadfs.MkdirAllFS hackpadfs.RemoveFS hackpadfs.StatFS hackpadfs.LstatFS hackpadfs.ChmodFS hackpadfs.ChownFS hackpadfs.ChtimesFS hackpadfs.ReadDirFS hackpadfs.ReadFileFS hackpadfs.MountFS }
NewFS returns a wrapped MountFS with many of the basic operations supported. Great for testing interface implementation or MountFS-specific behavior.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.