3b089c2291
CI / check (pull_request) Successful in 1m45s
Restructure the FsStore on-disk layout so that all `<HASH>.bin` node files live under a `nodes/` subdirectory of the store root, instead of being interleaved with metadata directories (`_index/`, `_store.db`, `_meta`) at the top level. Pre-existing flat-layout stores are auto-migrated on first open: any `.bin` files found in the store root are renamed (not copied) into `nodes/`. Migration is idempotent and safe to re-run. Fixes #84
309 B
309 B
@ocas/fs
| @ocas/fs |
|---|
| minor |
Move CAS node files from the store root into a nodes/ subdirectory. Pre-existing flat-layout stores are auto-migrated on first open: any <HASH>.bin files in the store root are renamed into nodes/. Metadata (_index/, _store.db, _meta) remain at the store root unchanged.