Documentation ¶
Index ¶
- Variables
- func Exist(fsys fs.FS, paths ...string) (err error)
- func GitIgnore(fsys fs.FS) *gitIgnore
- func SingleFlight(fsys fs.FS) fs.FS
- func SomeExist(fsys fs.FS, paths ...string) (map[string]bool, error)
- func Write(to string, fsys fs.FS) error
- func WriteAll(from, to string, fsys fs.FS) error
- type File
- type Map
- type Memory
- type OS
- type ReadWritable
- type Writable
Constants ¶
This section is empty.
Variables ¶
View Source
var Now = func() time.Time { return time.Now() }
Now may be overriden for testing purposes
Functions ¶
Types ¶
type ReadWritable ¶
func GitIgnoreRW ¶
func GitIgnoreRW(rw ReadWritable) ReadWritable
Source Files ¶
Click to show internal directories.
Click to hide internal directories.