MCPcopy Index your code
hub / github.com/docker/docker-agent / String

Method String

pkg/evaluation/build.go:37–39  ·  view source on GitHub ↗

String returns a stable string representation for use as a singleflight key.

()

Source from the content-addressed store, hash-verified

35
36// String returns a stable string representation for use as a singleflight key.
37func (k imageKey) String() string {
38 return k.workingDir + "\x00" + k.image
39}
40
41// getOrBuildImage returns a cached image ID or builds a new one.
42// Concurrent calls for the same (workingDir, image) pair are deduplicated

Callers 6

getOrBuildImageMethod · 0.95
checkSingleMethod · 0.45
SessionFromEventsFunction · 0.45
SaveRunSessionsJSONFunction · 0.45
parseContainerEventsFunction · 0.45
buildTranscriptFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected