Documentation ¶
Index ¶
- type DefaultFS
- func (DefaultFS) MD5Sum(name string) (string, error)
- func (DefaultFS) Open(name string) (*os.File, error)
- func (DefaultFS) ReadFile(name string) ([]byte, error)
- func (DefaultFS) Remove(name string) error
- func (DefaultFS) Rename(oldpath string, newpath string) error
- func (DefaultFS) Stat(name string) (os.FileInfo, error)
- func (DefaultFS) WriteFile(name string, data []byte, perm os.FileMode) error
- type FileSystem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem interface { Stat(name string) (os.FileInfo, error) ReadFile(name string) ([]byte, error) WriteFile(name string, data []byte, perm os.FileMode) error Open(name string) (*os.File, error) Rename(oldpath string, newpath string) error Remove(name string) error MD5Sum(name string) (string, error) }
Click to show internal directories.
Click to hide internal directories.