Documentation
¶
Index ¶
- Variables
- func Print(fsys *DirFS, wr io.Writer) error
- type DirFS
- func (t *DirFS) Abs(rel path.Relative) path.Absolute
- func (m *DirFS) Delete(p path.Relative, recursive bool) error
- func (t *DirFS) Exists(rel path.Relative) bool
- func (t *DirFS) Find(rel path.Relative) (tr *DirTree)
- func (m *DirFS) ModTime(p path.Relative) (t time.Time, err error)
- func (m *DirFS) Reader(p path.Relative) (io.ReadCloser, error)
- func (m *DirFS) Rename(p path.Relative, name string) error
- func (m *DirFS) Size(p path.Relative) int64
- func (m *DirFS) Write(p path.Relative, rd io.ReadCloser, recursive bool) (err error)
- type DirTree
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrStopWalking = errors.Error("not walking")
Functions ¶
Types ¶
type DirFS ¶
type DirFS struct {
Tree *DirTree
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.