#ThingUmbrella #ReleaseTuesday... New package (initial alpha release):
https://thi.ng/block-fs provides highly customizable & extensible block-based storage with an optional hierarchical filesystem layer. This is useful everywhere you might need virtual filesystem, though the storage providers can also be used without the filesystem layer (e.g. for #Forth-style block data/editors).
The default configuration provides:
- arbitrarily nested directories
- filenames (UTF-8) of max. 31 bytes per directory level
- max. 32 owner IDs
- file locking
- creation/modification timestamps (64 bit)
- efficient append writes
Currently included storage providers: TypedArray-based in-memory and host filesystem based file storage (one block per file). More are planned (e.g. IndexedDB, remote endpoint)...
The readme is currently still lacking various diagrams to illustrate the filesystem internals. I will add those ASAP...
#ThingUmbrella #FileSystem #VirtualFS #BlockStorage