Versions in this module Expand all Collapse all v0 v0.1.0 Jul 10, 2026 Changes in this version + var ErrInvalidKey = errors.New("workspace: invalid key") + var ErrNotFound = errors.New("workspace: key not found") + func ValidKey(key string) bool + type Local struct + func NewLocal(dir string) (*Local, error) + func (l *Local) Delete(_ context.Context, key string) error + func (l *Local) List(_ context.Context, prefix string) ([]string, error) + func (l *Local) Read(_ context.Context, key string) (io.ReadCloser, error) + func (l *Local) Write(_ context.Context, key string, r io.Reader) error + type Workspace interface + Delete func(ctx context.Context, key string) error + List func(ctx context.Context, prefix string) ([]string, error) + Read func(ctx context.Context, key string) (io.ReadCloser, error) + Write func(ctx context.Context, key string, r io.Reader) error