effect icon indicating copy to clipboard operation
effect copied to clipboard

Universal FS module

Open schickling opened this issue 3 years ago • 1 comments

Similar to the @effect-ts/node/FileSystem, @mikearnaldi suggested the idea to introduce a more universal FS module that could also be used else where e.g. in the browser (see this project) or fully virtualised (e.g. for tests).

schickling avatar Jan 14 '22 10:01 schickling

Got the idea from TypeScript's Host abstraction where basically the compiler just depends on a Host impl that has access to the filesystem so that the compiler can run regardless of the concrete host. We'd need to isolate the set of features we want for the virtual fs.

mikearnaldi avatar Jan 14 '22 10:01 mikearnaldi

closing as it is now part of @effect/platform

mikearnaldi avatar Jan 13 '24 15:01 mikearnaldi