Documentation
      ¶
    
    
  
    
  
    Index ¶
- func Lstat(path string, stat *syscall.Stat_t) error
 - func Mock(mock Interface)
 - func Open(path string) (io.ReadWriteCloser, error)
 - func ReadDir(path string) ([]os.FileInfo, error)
 - func ReadDirNames(path string) ([]string, error)
 - func ReadFile(path string) ([]byte, error)
 - func Restore()
 - func Stat(path string, stat *syscall.Stat_t) error
 - type Interface
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadDirNames ¶
ReadDirNames see os.File.ReadDirNames
Types ¶
type Interface ¶
type Interface interface {
	ReadDir(string) ([]os.FileInfo, error)
	ReadDirNames(string) ([]string, error)
	ReadFile(string) ([]byte, error)
	Lstat(string, *syscall.Stat_t) error
	Stat(string, *syscall.Stat_t) error
	Open(string) (io.ReadWriteCloser, error)
}
    Interface is the filesystem interface type.
      
      Source Files
      ¶
    
- fs.go
 
 Click to show internal directories. 
   Click to hide internal directories.