MCPcopy Index your code
hub / github.com/docker/cli / ID

Method ID

cli/command/formatter/buildcache.go:114–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112}
113
114func (c *buildCacheContext) ID() string {
115 id := c.v.ID
116 if c.trunc {
117 id = TruncateID(c.v.ID)
118 }
119 if c.v.InUse {
120 return id + "*"
121 }
122 return id
123}
124
125func (c *buildCacheContext) Parent() string {
126 var parent string

Callers

nothing calls this directly

Calls 1

TruncateIDFunction · 0.85

Tested by

no test coverage detected