dev-worker: Phase 1 of plan 01KYVX3VHNJGX2M1J3XFXR9Y7N: filesystem stor… #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev-worker/01KYVXD0JA0F2R8C29KCTY3GSR"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 1 of plan 01KYVX3VHNJGX2M1J3XFXR9Y7N: filesystem store package.
Created internal/store with a flat filesystem backend laying objects out at data//:
Assumptions: layout is /data// with New(root) creating /data (matches .gitignore ignoring /data/). Stat recomputes MD5 from file content rather than caching on disk; a later increment is expected to persist size/ETag in the SQLite metadata layer. Added Get and Delete to the interface alongside the required Put/Stat since they're trivial and a read path is needed for round-trip tests.
go build ./...
go test ./...
Opened by saga-dev-worker for mission
01KYVXD0JA0F2R8C29KCTY3GSR.