IsDangling returns true if the image is dangling, that is an untagged image without children.
(ctx context.Context)
| 148 | // IsDangling returns true if the image is dangling, that is an untagged image |
| 149 | // without children. |
| 150 | func (i *Image) IsDangling(ctx context.Context) (bool, error) { |
| 151 | return i.isDangling(ctx, nil) |
| 152 | } |
| 153 | |
| 154 | // isDangling returns true if the image is dangling, that is an untagged image |
| 155 | // without children. If tree is nil, it will created for this invocation only. |