(ci content.Info)
| 125 | } |
| 126 | |
| 127 | func (c *commandIndexInspect) shouldInclude(ci content.Info) bool { |
| 128 | if len(c.contentIDs) == 0 { |
| 129 | return true |
| 130 | } |
| 131 | |
| 132 | contentID := ci.ContentID.String() |
| 133 | |
| 134 | return slices.Contains(c.contentIDs, contentID) |
| 135 | } |
| 136 | |
| 137 | type indexBlobPlusContentInfo struct { |
| 138 | indexBlob blob.Metadata |
no test coverage detected