Documentation ¶ Index ¶ type TestFS func (t TestFS) Open(name string) (fs.File, error) func (t TestFS) ReadDir(name string) ([]fs.DirEntry, error) func (t TestFS) Stat(name string) (fs.FileInfo, error) func (t TestFS) WriteFile(name string, data []byte, perm os.FileMode) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type TestFS ¶ type TestFS fstest.MapFS func (TestFS) Open ¶ func (t TestFS) Open(name string) (fs.File, error) func (TestFS) ReadDir ¶ func (t TestFS) ReadDir(name string) ([]fs.DirEntry, error) func (TestFS) Stat ¶ func (t TestFS) Stat(name string) (fs.FileInfo, error) func (TestFS) WriteFile ¶ func (t TestFS) WriteFile(name string, data []byte, perm os.FileMode) error Source Files ¶ View all Source files clitest.go Click to show internal directories. Click to hide internal directories.