aboutsummaryrefslogtreecommitdiffstats
path: root/entity/id.go
diff options
context:
space:
mode:
Diffstat (limited to 'entity/id.go')
-rw-r--r--entity/id.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/entity/id.go b/entity/id.go
index c8dbdb94..8f3dc25b 100644
--- a/entity/id.go
+++ b/entity/id.go
@@ -63,7 +63,7 @@ func (i Id) MarshalGQL(w io.Writer) {
_, _ = w.Write([]byte(`"` + i.String() + `"`))
}
-// IsValid tell if the Id is valid
+// Validate tell if the Id is valid
func (i Id) Validate() error {
// Special case to detect outdated repo
if len(i) == 40 {