Answer architecture round 7: reads and its note move to item 196, a mounted module's errors read sv_SE (address.json), internal/datafiles handles namespace folders in one form, and a folder outside the mount is a broken invariant
This commit is contained in:
+1
-4
@@ -130,10 +130,7 @@ replacement, and each removed path, column or flag.
|
||||
`…/geous`. `data.Modules()`, from `github.com/larvit/fejkdata/data`, lists every one,
|
||||
and the CLI carries them all. `New` loads the modules `WithDataFS(modules...)` names and
|
||||
the folders `WithDataPath` names, and fails, naming `WithDataFS`, where no such option
|
||||
is given. A manifest's `namespace` mounts its source under a dot path, and its `reads` lists the
|
||||
namespaces of the modules its source reads by default; a reference to a path nothing
|
||||
provides fails to load, asking whether a module is missing and naming each namespace
|
||||
read that nothing loaded provides, or saying no loaded manifest names a module to add.
|
||||
is given. A manifest's `namespace` mounts its source under a dot path.
|
||||
- A data source whose root holds a `.fejkdata.json` manifest with an `index` loads each
|
||||
category on the first call reaching it, as each shipped module does. Data failing to load,
|
||||
in `New` or on that first call, gives an error matching `ErrLoad`, and the CLI exits 1.
|
||||
|
||||
Reference in New Issue
Block a user