Add ability for FS to have a Config helper function run
This commit is contained in:
parent
1ea9972be7
commit
1b3a49929b
2 changed files with 24 additions and 0 deletions
1
fs/fs.go
1
fs/fs.go
|
@ -20,6 +20,7 @@ var (
|
|||
type FsInfo struct {
|
||||
Name string // name of this fs
|
||||
NewFs func(string, string) (Fs, error) // create a new file system
|
||||
Config func(string) // function to call to help with config
|
||||
Options []Option
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue