Versions in this module Expand all Collapse all v0 v0.6.1 Jun 5, 2026 v0.6.0 Jun 4, 2026 Changes in this version + var ErrIntegrity = errors.New("cas: stored bytes do not match digest (integrity failure)") + var ErrNotFound = errors.New("cas: artifact not found") + func AssertStoreCapabilities(s Store) error + func Retire(workspaceRoot string) error + func VerifyLayoutAt(dir string, digest Digest) error + func WorkspaceObjectsDir(workspaceRoot string) string + type Digest string + type FSStore struct + func NewFSStore(root string) *FSStore + func NewWorkspaceStore(workspaceRoot string) *FSStore + func (*FSStore) RequiresOCIExport() bool + func (*FSStore) Transport() bool + func (s *FSStore) Put(digest Digest, layoutDir string) (string, error) + func (s *FSStore) Resolve(digest Digest) (string, error) + func (s *FSStore) Root() string + type NoopStore struct + func NewNoopStore() *NoopStore + func (*NoopStore) Put(_ Digest, _ string) (string, error) + func (*NoopStore) RequiresOCIExport() bool + func (*NoopStore) Resolve(digest Digest) (string, error) + func (*NoopStore) Transport() bool + type Store interface + Put func(digest Digest, layoutDir string) (storedDir string, err error) + RequiresOCIExport func() bool + Resolve func(digest Digest) (storedDir string, err error) + Transport func() bool