MCPcopy Create free account
hub / github.com/github/gh-aw / getEmbeddedContainerPin

Function getEmbeddedContainerPin

pkg/workflow/action_pins.go:166–168  ·  view source on GitHub ↗

getEmbeddedContainerPin returns the pinned container image for a given image reference.

(image string)

Source from the content-addressed store, hash-verified

164
165// getEmbeddedContainerPin returns the pinned container image for a given image reference.
166func getEmbeddedContainerPin(image string) (actionpins.ContainerPin, bool) {
167 return actionpins.GetContainerPin(image)
168}
169
170// lookupContainerPin returns the ContainerPin for the given image, checking cache first
171// then falling back to embedded pins. Returns false if the image is not pinned.

Callers 1

lookupContainerPinFunction · 0.85

Calls 1

GetContainerPinFunction · 0.92

Tested by

no test coverage detected