mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-02-20 01:00:22 +08:00
15 lines
298 B
Go
15 lines
298 B
Go
package presentation
|
|
|
|
import (
|
|
"github.com/jesseduffield/lazydocker/pkg/commands"
|
|
"github.com/jesseduffield/lazydocker/pkg/utils"
|
|
)
|
|
|
|
func GetImageDisplayStrings(image *commands.Image) []string {
|
|
return []string{
|
|
image.Name,
|
|
image.Tag,
|
|
utils.FormatDecimalBytes(int(image.Image.Size)),
|
|
}
|
|
}
|