Files
docker-cli/cli/command/container
Sebastiaan van Stijn e0f4bc699c cli/command/formatter: add TrunateID utility
We were depending on pkg/stringid to truncate IDs for presentation. While
traditionally, we used a fixed length for "truncated" IDs, this is not
a strict requirement (any ID-prefix should work, but conflicts may
happen on shorter IDs).

This patch adds a local `TruncateID()` utility in the formatter package;
it's currently using the same implementation and length as the
`stringid.TruncateID` function, but may diverge in future.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-07-14 20:10:56 +02:00
..
2023-12-12 22:30:16 +01:00
2025-02-03 19:17:50 +01:00
2023-12-12 22:30:16 +01:00
2023-12-12 22:30:16 +01:00
2023-05-05 18:23:03 +02:00
2021-05-24 19:37:53 +01:00
2025-02-03 19:17:50 +01:00
2023-12-12 22:30:16 +01:00
2025-02-03 19:17:50 +01:00