Closed neunenak closed 2 years ago
@casey @soenkehahn this is something I noticed can be done now that the VFS code is merged. I'm not sure if there's a case for leaving Config
as a type that should be available throughout the codebase.
This looks good to me. Is it possible to keep the vfs module in vfs.rs
instead of mod.rs
, or is it necessary to have submodules?
This looks good to me. Is it possible to keep the vfs module in
vfs.rs
instead ofmod.rs
, or is it necessary to have submodules?
Just tried it and apparently that works, you can have vfs.rs
and vfs/config.rs
and the module hierarchy works out as expected.
Sweet, LGTM
For some reason the tests are super flaky, and I had to rerun them a bunch to get them to pass.
With the new VFS system, the
Config
type is now effectively an implementation detail of the VFS, and can exist as a non-public submodule of thevfs
module.