Skip to content

v2.0.0

Choose a tag to compare

@illright illright released this 17 May 23:14
· 41 commits to main since this release
1a53e08

Added

  • New type definitions: File and Folder, bare minimum objects to represent a file system.
  • Functions to traverse a folder like an FSD root (see README for documentation):
    • getLayers
    • getSlices
    • getSegments
    • getAllSlices
    • isSliced
    • getIndex

Changed

  • The FsdRoot type is now simply an alias for Folder.

Removed

  • The locateInFsdRoot function is no longer available, it is replaced with a more ergonomic set of functions to traverse a folder as an FSD root.
  • A bunch of now redundant type definitions are removed: SliceName, SegmentName, Layer, SlicedLayer, UnslicedLayer, UnslicedLayerName, Slice, Segment, FileLocation. Instead, layers, slices, and segments are now simply folders (segments can also be files).