()
| 123 | } |
| 124 | |
| 125 | func (c *buildCacheContext) Parent() string { |
| 126 | var parent string |
| 127 | if len(c.v.Parents) > 0 { |
| 128 | parent = strings.Join(c.v.Parents, ", ") |
| 129 | } |
| 130 | if c.trunc { |
| 131 | return TruncateID(parent) |
| 132 | } |
| 133 | return parent |
| 134 | } |
| 135 | |
| 136 | func (c *buildCacheContext) CacheType() string { |
| 137 | return c.v.Type |
no test coverage detected