Documentation ¶
Index ¶
- type FS
- func (f *FS) CopyTree(from, to string) error
- func (f *FS) Create(path string) (io.WriteCloser, error)
- func (f *FS) DirExists(path string) (bool, error)
- func (f *FS) HTTP(dir string) http.Handler
- func (f *FS) MkDirAll(path string) error
- func (f *FS) Open(path string) (io.ReadCloser, error)
- func (f *FS) ReadFile(path string) ([]byte, error)
- func (f *FS) RemoveAll(path string) error
- func (f *FS) TreeList(dir string) ([]string, error)
- func (f *FS) WriteFile(path string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
FS is a composite read and write file system
func (*FS) Create ¶
func (f *FS) Create(path string) (io.WriteCloser, error)
Create creates new file
Click to show internal directories.
Click to hide internal directories.