Documentation
¶
Index ¶
- type FileSystem
- func (fsys *FileSystem) Copy(source, target string) (err error)
- func (fsys *FileSystem) Create(path string, attr *struct{}) (stream.File, error)
- func (fsys *FileSystem) Glob(pattern string) ([]string, error)
- func (fsys *FileSystem) Open(path string) (fs.File, error)
- func (fsys *FileSystem) ReadDir(path string) ([]fs.DirEntry, error)
- func (fsys *FileSystem) Remove(path string) error
- func (fsys *FileSystem) Stat(path string) (fs.FileInfo, error)
- func (fsys *FileSystem) Wait(path string, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
FileSystem is a no-op implementation of the FileSystem interface for standard input/output.
func (*FileSystem) Copy ¶
func (fsys *FileSystem) Copy(source, target string) (err error)
func (*FileSystem) Create ¶
func (fsys *FileSystem) Create(path string, attr *struct{}) (stream.File, error)
func (*FileSystem) Remove ¶
func (fsys *FileSystem) Remove(path string) error
Click to show internal directories.
Click to hide internal directories.