Skip to content

fix: Storage guard & extend storager interface - #1

Merged
wwoytenko merged 1 commit into
mainfrom
feat/range-list
Jul 25, 2026
Merged

fix: Storage guard & extend storager interface#1
wwoytenko merged 1 commit into
mainfrom
feat/range-list

Conversation

@wwoytenko

Copy link
Copy Markdown
Member
  • Added a storage guard, enabled by default, that prevents creating sub-storages outside the root storage dir path
  • Added two new methods:
    1. GetObjectRange opens a byte range of the object at filePath for reading. offset is counted from the start of the object and length is the number of bytes wanted.
    2. List returns every object under prefix, recursively, with its size.
  • Renamed fabric function from NewStorage to New

* Added a storage guard, enabled by default, that prevents creating sub-storages outside the root storage dir path
* Added two new methods:
   1. GetObjectRange opens a byte range of the object at filePath for reading. offset is counted from the start of the object and length is the number of bytes wanted.
   2. List returns every object under prefix, recursively, with its size.
* Renamed fabric function from NewStorage to New
@wwoytenko
wwoytenko merged commit 6ace06f into main Jul 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant