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

Function resourceName

pkg/blobmanager/s3/backend.go:290–292  ·  view source on GitHub ↗
(digest string)

Source from the content-addressed store, hash-verified

288}
289
290func resourceName(digest string) string {
291 return fmt.Sprintf("sha256:%s", digest)
292}
293
294// fakeWriterAt is a wrapper around io.Writer that ignores the offset
295// we have this wrapper as a compatibility bridge between the backend.Downloader and io.WriterAt

Callers 4

TestResourceNameMethod · 0.70
UploadMethod · 0.70
DescribeMethod · 0.70
DownloadMethod · 0.70

Calls

no outgoing calls

Tested by 1

TestResourceNameMethod · 0.56