Answer architecture round 1: a module's reads sits on its index entry or, for a source without an index, in the load that walks it, the note names default modules, the shipped modules are listed by name, datafiles drops its unused base, and item 195 files the builtins' second parse
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ func WithDataPath(dir string) Option {
|
||||
func WithDataFS(modules ...fs.FS) Option {
|
||||
return func(c *config) {
|
||||
for _, fsys := range modules {
|
||||
c.sources = append(c.sources, datafiles.FS(fsys, ""))
|
||||
c.sources = append(c.sources, datafiles.FS(fsys))
|
||||
}
|
||||
c.given = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user