MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / Exists

Method Exists

pkg/blobmanager/backend.go:37–37  ·  view source on GitHub ↗
(ctx context.Context, digest string)

Source from the content-addressed store, hash-verified

35type Uploader interface {
36 Upload(ctx context.Context, r io.Reader, resource *v1.CASResource) error
37 Exists(ctx context.Context, digest string) (bool, error)
38 CheckWritePermissions(ctx context.Context) error
39}
40

Callers 3

TestExistsMethod · 0.65
TestExistsMethod · 0.65
WriteMethod · 0.65

Calls

no outgoing calls

Tested by 2

TestExistsMethod · 0.52
TestExistsMethod · 0.52