Documentation ¶
Index ¶
- func Show(cfg *Config, path string) (list []*ftp.Entry, err error)
- type Config
- type Directory
- type Watcher
- func (w *Watcher) CheckChanged(dir string) (changed bool)
- func (w *Watcher) GetAllFiles(path string) (files []string)
- func (w Watcher) GetHash(dir string) (h uint32, err error)
- func (w Watcher) LoadFiles(path string, files []string)
- func (w *Watcher) Stop()
- func (w Watcher) Watch(ctx context.Context, dirs []string, updateTime time.Duration, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.