MCPcopy Index your code
hub / github.com/containerd/containerd / makeChainIDKeyWithSnapshotter

Method makeChainIDKeyWithSnapshotter

core/unpack/unpacker.go:739–741  ·  view source on GitHub ↗
(chainID, snapshotter string)

Source from the content-addressed store, hash-verified

737}
738
739func (u *Unpacker) makeChainIDKeyWithSnapshotter(chainID, snapshotter string) string {
740 return fmt.Sprintf("sn://%s/%v", snapshotter, chainID)
741}
742
743func (u *Unpacker) makeBlobDescriptorKey(desc ocispec.Descriptor) string {
744 return fmt.Sprintf("blob://%v", desc.Digest)

Callers 1

lockSnChainIDMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected