func (dockerLayer *dockerLayer) ShortID() string {
	rangeBound := 15
	id := dockerLayer.ID()
	if length := len(id); length < 15 {
		rangeBound = length
	}
	id = id[0:rangeBound]

	// show the tagged image as the last dockerLayer
	// if len(dockerLayer.History.Tags) > 0 {
	// 	id = "[" + strings.Join(dockerLayer.History.Tags, ",") + "]"
	// }

	return id
}
// ShortId returns the truncated id of the current dockerLayer.
ShortId returns the truncated id of the current dockerLayer.
// ShortId returns the truncated id of the current dockerLayer .
func (dockerLayer *dockerLayer) ShortID() string {
	rangeBound := 15
	id := dockerLayer.ID()
	if length := len(id); length < 15 {
		rangeBound = length
	}
	id = id[0:rangeBound]
	return id
}
func ( dockerLayer * dockerLayer ) ShortID ( ) string { rangeBound := 15 id := dockerLayer . ID ( ) if length := len ( id ) ; length < 15 { rangeBound = length } id = id [ 0 : rangeBound ] return id }
ShortId returns the truncated id of the current dockerLayer.
ShortId returns the truncated id of the current dockerLayer .
// show the tagged image as the last dockerLayer // if len(dockerLayer.History.Tags) > 0 { // 	id = "[" + strings.Join(dockerLayer.History.Tags, ",") + "]" // }