Documentation ¶
Index ¶
- func OpenDirFS(d string) fs.FS
- func Remove(fss fs.FS, path string) error
- func Watch(ctx context.Context, fss fs.FS, dir string) (chan []fsnotify.Event, error)
- func WriteFile(fss fs.FS, name string, contents []byte, mode fs.FileMode) (err error)
- type CreateFS
- type FileWriter
- type RemoveFS
- type WatchFS
- type WriteFileFS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileWriter ¶
don't love the name here, but want a WriteFile function
Click to show internal directories.
Click to hide internal directories.