Open
Description
We have multiple codepaths which both duplicate FS access code. Additionally, our source-map-support hook touches this FS caching layer.
Refactor into a single fs API which can be instantiated by a factory like createFsLayer()
or createFsHost()
and then used in all codepaths.
Having this layer may make future features, such as caching, easier to understand. For example, the fs layer can perform all writes into a cache, and all reads from either the cache or real filesystem, whichever is hit first.
Metadata
Metadata
Assignees
Labels
No labels