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

Method UploadFile

pkg/casclient/casclient.go:38–38  ·  view source on GitHub ↗
(ctx context.Context, filepath string)

Source from the content-addressed store, hash-verified

36
37type Uploader interface {
38 UploadFile(ctx context.Context, filepath string) (*UpDownStatus, error)
39 Upload(ctx context.Context, r io.Reader, filename, digest string) (*UpDownStatus, error)
40 // Whether the CAS is ready to accept uploads
41 IsReady(ctx context.Context) (bool, error)

Callers 1

RunMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected