Versions in this module Expand all Collapse all v0 v0.19.3 May 4, 2026 Changes in this version + type FileInfo struct + Digest string + Size int64 + type FileStore struct + func NewFileStore(dir string) (*FileStore, error) + func OpenDefault() (*FileStore, error) + func (s *FileStore) Delete(_ context.Context, digest string) error + func (s *FileStore) Exists(_ context.Context, digest string) (bool, error) + func (s *FileStore) List(ctx context.Context) iter.Seq2[FileInfo, error] + func (s *FileStore) Path(ctx context.Context, digest string) (string, error) + func (s *FileStore) PutFile(ctx context.Context, expectedDigest string, expectedSize int64, r io.Reader) error + func (s *FileStore) Root() string + type Store interface + Delete func(ctx context.Context, digest string) error + Exists func(ctx context.Context, digest string) (bool, error) + List func(ctx context.Context) iter.Seq2[FileInfo, error] + Path func(ctx context.Context, digest string) (string, error) + PutFile func(ctx context.Context, expectedDigest string, size int64, r io.Reader) error