1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/client/formatter
Sebastiaan van Stijn 51dc35cf23
Implement stringutils.Ellipsis()
This patch implements an Ellipsis utility to
append an ellipsis (...)  when truncating
strings in output.

It also fixes the existing Truncate() utility
to be compatible with unicode/multibyte characters.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-08-11 14:14:06 +02:00
..
container.go Implement stringutils.Ellipsis() 2016-08-11 14:14:06 +02:00
container_test.go Implement stringutils.Ellipsis() 2016-08-11 14:14:06 +02:00
custom.go Add network --format flag to ls 2016-08-04 14:59:51 +02:00
custom_test.go Refactor api/client/formatter files 2016-08-04 14:59:45 +02:00
formatter.go Refactor api/client/formatter files 2016-08-04 14:59:45 +02:00
image.go Refactor api/client/formatter files 2016-08-04 14:59:45 +02:00
image_test.go Refactor api/client/formatter files 2016-08-04 14:59:45 +02:00
network.go Add network --format flag to ls 2016-08-04 14:59:51 +02:00
network_test.go Add network --format flag to ls 2016-08-04 14:59:51 +02:00
volume.go Add volume --format flag to ls 2016-08-04 14:59:55 +02:00
volume_test.go Add volume --format flag to ls 2016-08-04 14:59:55 +02:00