chore(typo): fix grammar in comments, API docs and error messages (#38370)

This commit is contained in:
Milwad Khosravi
2026-07-09 01:22:06 +03:30
committed by GitHub
parent 49ef93940a
commit 545ed92354
13 changed files with 19 additions and 19 deletions

View File

@@ -10,10 +10,10 @@ import (
"strconv"
)
// sha1Pattern can be used to determine if a string is an valid sha
// sha1Pattern can be used to determine if a string is a valid sha
var sha1Pattern = regexp.MustCompile(`^[0-9a-f]{4,40}$`)
// sha256Pattern can be used to determine if a string is an valid sha
// sha256Pattern can be used to determine if a string is a valid sha
var sha256Pattern = regexp.MustCompile(`^[0-9a-f]{4,64}$`)
type ObjectFormat interface {