We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bb188a commit 95d4cd9Copy full SHA for 95d4cd9
modules/base/tool.go
@@ -43,7 +43,8 @@ func EncodeSha1(str string) string {
43
return hex.EncodeToString(h.Sum(nil))
44
}
45
46
-// ShortSha is basically just truncating. It is DEPRECATED and will be removed in the future.
+// ShortSha is basically just truncating.
47
+// It is DEPRECATED and will be removed in the future.
48
func ShortSha(sha1 string) string {
49
return TruncateString(sha1, 10)
50
0 commit comments