aboutsummaryrefslogtreecommitdiff
path: root/ref/refname/length.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-26 09:19:01 +0000
committerGravatar Runxi Yu2026-03-26 09:19:01 +0000
commit929b8cc620abca70b3444b09be5249f6c6cb7812 (patch)
tree29b1edba8f597d09a2a51a6b2c901389cc40e242 /ref/refname/length.go
parentformat: Move commitgraph and packfile here (diff)
signatureNo signature
ref/name: Rename from ref/refname
Diffstat (limited to 'ref/refname/length.go')
-rw-r--r--ref/refname/length.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/ref/refname/length.go b/ref/refname/length.go
deleted file mode 100644
index 94c0322b..00000000
--- a/ref/refname/length.go
+++ /dev/null
@@ -1,11 +0,0 @@
-package refname
-
-import "strings"
-
-func sanitizedLen(builder *strings.Builder) int {
- if builder == nil {
- return 0
- }
-
- return builder.Len()
-}