Documentation
¶
Index ¶
- type Root
- func (root Root) Create(relativePath string) (*os.File, error)
- func (root Root) DirectorySize(relativePath string) (int64, error)
- func (root Root) FileSize(relativePath string) (int64, error)
- func (root Root) MkdirAll(relativePath string, perm fs.FileMode) error
- func (root Root) Open(relativePath string) (*os.File, error)
- func (root Root) ReadFile(relativePath string) ([]byte, error)
- func (root Root) RelativePath(candidatePath string) (string, error)
- func (root Root) Remove(relativePath string) error
- func (root Root) RemoveAll(relativePath string) error
- func (root Root) Rename(oldRelativePath string, newRelativePath string) error
- func (root Root) Stat(relativePath string) (fs.FileInfo, error)
- func (root Root) WriteFile(relativePath string, payload []byte, perm fs.FileMode) 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.