Documentation ¶
Index ¶
- type FS
- func (fs *FS) Chmod(path string, mode os.FileMode) error
- func (fs *FS) Compress(name string, path string, contentPaths []string) error
- func (fs *FS) Copy(source string, destination string) error
- func (fs *FS) CreateDir(path string) error
- func (fs *FS) DeleteAllExcept(path string, filenames []string) error
- func (fs *FS) Exists(path string) (exists bool, err error)
- func (fs *FS) Extract(archivePath string, destinationPath string, pattern string) error
- func (fs *FS) Length(path string) (int64, error)
- func (fs *FS) MD5(path string) (md5 string, err error)
- func (fs *FS) Move(source string, destination string) error
- func (fs *FS) Read(path string) (contents []byte, err error)
- func (fs *FS) Remove(path string) error
- func (fs *FS) TempDir() (string, error)
- func (fs *FS) Write(path string, contents io.Reader, append bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.