mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
14 lines
298 B
Go
14 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)),
|
|
}
|
|
}
|