feat: impl fs backed blob store

This commit is contained in:
2025-11-26 20:11:12 +00:00
parent 834517f3c0
commit c0e2f7ff37
4 changed files with 119 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package blob
import (
"context"
"io"
)
type Store interface {
Put(ctx context.Context, key Key, reader io.Reader) error
Retrieve(ctx context.Context, key Key) (io.ReadCloser, error)
Delete(ctx context.Context, key Key) error
Move(ctx context.Context, srcKey, dstKey Key) error
}