file-services icon indicating copy to clipboard operation
file-services copied to clipboard

Various file system packages.

Results 10 file-services issues
Sort by recently updated
recently updated
newest added

using `TextEncoder`/`TextDecoder` for conversion. closes #169

Node 12.7.0's esm module system implemented support for: https://github.com/jkrems/proposal-pkg-exports/ `@file-services/resolve` should support that field too, assuming more and more packages will use that field inside the Node ecosystem.

enhancement

`IDirectoryContents` interface used by `createMemoryFs` and `populateDirectory` only supports strings for file contents, which means it can't be used for binary files¹. To represent binary files we could use an...

enhancement

- [x] `path` -> `@file-services/path` - [ ] `stream` - [ ] `util` - [ ] `fs` (+allow setting it dynamically) - [ ] `buffer` - [ ] `crypto`

enhancement

Currently there is no way to work with read and write streams, createWritableStream and createReadableStream are not exposed in the api.

enhancement

https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback https://nodejs.org/api/fs.html#fs_file_system_flags

enhancement

Should allow loading a directory deeply and get the textual representation of non-binary files. Should return `IDirectoryContents` (as a shallow or deep tree).

enhancement

Add `includeSymbolicLinks` parameter to `findFilesSync` function that allows include symbolic links in a search results

pure overhead, as we aren't using it

implementation has race condition bugs. superseded by the official .watch() api.