Skip to content

Commit 2100a70

Browse files
committed
pkg/stringid: deprecate IsShortID
This function is no longer used, and has no external users. Deprecated the function and mark if for removal for the next release. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent e19e6cf commit 2100a70

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/stringid/stringid.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ var (
2222

2323
// IsShortID determines if id has the correct format and length for a short ID.
2424
// It checks the IDs length and if it consists of valid characters for IDs (a-f0-9).
25+
//
26+
// Deprecated: this function is no longer used, and will be removed in the next release.
2527
func IsShortID(id string) bool {
2628
if len(id) != shortLen {
2729
return false

0 commit comments

Comments
 (0)