diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2026-07-08 09:11:16 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2026-07-08 09:11:16 -0700 |
| commit | 3e5ae31fa6d8c33f61d070ca20c34c0dcba7666b (patch) | |
| tree | 248ec903bafebaaee3ddb4030ca70def39ac66ad /internal | |
| parent | a42a5961861f638fef3b49685fc6df2eea38fa0d (diff) | |
Add in-memory MemFileStore backend
Provide a reference non-OS FileStore that models storage as a flat
keyspace of cleaned paths, deriving directory structure from key prefixes
the way an object store does. It proves the FileStore abstraction is
genuinely backend-agnostic and serves as a hermetic test fixture needing
no temp directory. Symlink/ReadLink return errors.ErrUnsupported, matching
how an object-store backend would behave.
Tests drive a full upload -> list -> download round-trip and directory
listing entirely in memory.
Diffstat (limited to 'internal')
0 files changed, 0 insertions, 0 deletions