github zen-fs/core v0.3.0
0.3.0

latest releases: v2.4.4, v2.4.3, v2.4.2...
pre-release21 months ago
  • Added mixins for adding implementations for various use cases:
    • Sync: Implements async methods using the sync methods
    • Async: Implements sync methods to throw ENOTSUP
    • Readonly: Implements methods that makes changes to throw EROFS
    • They are used in the extends clause by wrapping any base file system, like so:
       class MyFS extends Readonly(Sync(FileSystem)) { /* ... */ }
    • Note that decorators are not used since they can not modify the resulting type.
  • Removed SyncFileSystem, AsyncFileSystem, ReadonlySyncFileSystem, and ReadonlyAsyncFileSystem (use mixins)
  • Changed LockedFS to named export
  • Narrowed usage of no-unused-vars in filesytem.ts
  • Removed isIndexDirInode and isIndexFileInode (bloat)
  • Renamed IndexInode.isDir to IndexInode.isDirectory
  • Exported ListingQueueNode
  • Removed FileSystem.Name
  • Added public modifier to FileSystem members that were missing it.
  • Readded FileIndex
  • Added FileIndexFS, SyncFileIndexFS, and AsyncFileIndexFS

Don't miss a new core release

NewReleases is sending notifications on new releases.