Documentation ¶
Index ¶
- Constants
- type Anchor
- type File
- type Folder
- func (f *Folder) CD(path string) *Folder
- func (f *Folder) Child(path string) *Folder
- func (f *Folder) Create(dirs []string) (size int64, isDir bool)
- func (f *Folder) Delete(c interface{ ... })
- func (f *Folder) Find(name string) *File
- func (f *Folder) List() Chan.Chan[fmt.Stringer]
- func (f *Folder) Mkdir(path string) (*Folder, bool)
- func (f *Folder) String() string
- func (f *Folder) Touch(name string, size int64) (*File, bool)
- func (f *Folder) Transport(path string, names ...string) *Anchor
- func (f *Folder) Walk() int64
- type Resource
- type Size
Constants ¶
View Source
const ( Byte = "{Byte}" KB = "{KB}" MB = "{MB}" GB = "{GB}" TB = "{TB}" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Anchor ¶
type Anchor struct {
// contains filtered or unexported fields
}
type File ¶
type Resource ¶
type Resource struct { event.AsyncEvent[fsnotify.Op] Root *Folder Watcher *fsnotify.Watcher // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.