refactor: drop unused function
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2021-12-30 00:42:37 +01:00
parent 62441acf03
commit 930ff68bb2
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 0 additions and 6 deletions

View File

@ -1,12 +1,10 @@
package formatter
import (
"fmt"
"os"
"strings"
"time"
"github.com/docker/cli/cli/command/formatter"
"github.com/docker/go-units"
"github.com/olekukonko/tablewriter"
"github.com/schollz/progressbar/v3"
@ -16,10 +14,6 @@ func ShortenID(str string) string {
return str[:12]
}
func Truncate(str string) string {
return fmt.Sprintf(`"%s"`, formatter.Ellipsis(str, 19))
}
func SmallSHA(hash string) string {
return hash[:8]
}