func (dockerLayer *dockerLayer) String() string {

	if dockerLayer.index == 0 {
		return fmt.Sprintf(dockerLayerFormat,
			// dockerLayer.ShortId(),
			// fmt.Sprintf("%d",dockerLayer.Index()),
			humanize.Bytes(dockerLayer.Size()),
			"FROM "+dockerLayer.ShortID())
	}
	return fmt.Sprintf(dockerLayerFormat,
		// dockerLayer.ShortId(),
		// fmt.Sprintf("%d",dockerLayer.Index()),
		humanize.Bytes(dockerLayer.Size()),
		dockerLayer.Command())
}
// String represents a dockerLayer in a columnar format.
String represents a dockerLayer in a columnar format.
// String represents a dockerLayer in a columnar format .
func (dockerLayer *dockerLayer) String() string {
	if dockerLayer.index == 0 {
		return fmt.Sprintf(dockerLayerFormat,
			humanize.Bytes(dockerLayer.Size()),
			"FROM "+dockerLayer.ShortID())
	}
	return fmt.Sprintf(dockerLayerFormat,
		humanize.Bytes(dockerLayer.Size()),
		dockerLayer.Command())
}
func ( dockerLayer * dockerLayer ) String ( ) string { if dockerLayer . index == 0 { return fmt . Sprintf ( dockerLayerFormat , humanize . Bytes ( dockerLayer . Size ( ) ) , " " + dockerLayer . ShortID ( ) ) } return fmt . Sprintf ( dockerLayerFormat , humanize . Bytes ( dockerLayer . Size ( ) ) , dockerLayer . Command ( ) ) }
String represents a dockerLayer in a columnar format.
String represents a dockerLayer in a columnar format .
// dockerLayer.ShortId(), // fmt.Sprintf("%d",dockerLayer.Index()), // dockerLayer.ShortId(), // fmt.Sprintf("%d",dockerLayer.Index()),