aboutsummaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-02-20 19:06:13 +0800
committerGravatar Runxi Yu2026-02-20 19:07:14 +0800
commitaa513c069c1418734aea894dc944e27c6a78a3bb (patch)
tree687f0a11bb550fa088fd82a98ceb8979bbc35f69 /errors.go
parentComment on prior reverts removing the pack writing API (diff)
signatureNo signature
Delete everything, I'm redesigning this.
I'll stop using a flat package and make things much more modular. And also experiment with streaming APIs so large blobs don't OOM us.
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/errors.go b/errors.go
deleted file mode 100644
index 675586f5..00000000
--- a/errors.go
+++ /dev/null
@@ -1,12 +0,0 @@
-package furgit
-
-import "errors"
-
-var (
- // ErrInvalidObject indicates malformed serialized data.
- ErrInvalidObject = errors.New("furgit: invalid object encoding")
- // ErrInvalidRef indicates malformed refs.
- ErrInvalidRef = errors.New("furgit: invalid ref")
- // ErrNotFound indicates missing refs/objects.
- ErrNotFound = errors.New("furgit: not found")
-)