diff options
| author | 2026-06-08 07:34:28 +0000 | |
|---|---|---|
| committer | 2026-06-08 07:34:28 +0000 | |
| commit | 7950430f0ec6542dbf4feafa7bec733f5eeaac34 (patch) | |
| tree | 4434235124fdb543382a2e7ce570f475823e72c6 /object/fetch | |
| parent | object/fetch: Add treefs (diff) | |
object/fetch: Fix tag's error import
Diffstat (limited to 'object/fetch')
| -rw-r--r-- | object/fetch/tag.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/object/fetch/tag.go b/object/fetch/tag.go index 0b01a94c..326244d8 100644 --- a/object/fetch/tag.go +++ b/object/fetch/tag.go @@ -1,7 +1,7 @@ package fetch import ( - giterrors "lindenii.org/go/furgit/errors" + "lindenii.org/go/furgit/errs" oid "lindenii.org/go/furgit/object/id" "lindenii.org/go/furgit/object/stored" "lindenii.org/go/furgit/object/tag" @@ -19,7 +19,7 @@ func (fetcher *Fetcher) ExactTag(id oid.ObjectID) (*stored.Stored[*tag.Tag], err tag, ok := parsed.(*tag.Tag) if !ok { - return nil, &giterrors.ObjectTypeError{OID: id, Got: parsed.ObjectType(), Want: typ.TypeTag} + return nil, &errs.ObjectTypeError{OID: id, Got: parsed.ObjectType(), Want: typ.TypeTag} } return stored.New(id, tag), nil |
