aboutsummaryrefslogtreecommitdiff
path: root/refstore/files/errors.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-23 03:25:44 +0000
committerGravatar Runxi Yu2026-03-23 03:27:52 +0000
commit4a796e64ac576d6a3e3f2fe6174c4aa476ea0c5c (patch)
tree44d72a20076ceab0981d0b553693d26ca36cc0be /refstore/files/errors.go
parentreceivepack: Lifecycle/ownership docs (diff)
signatureNo signature
refstore: Improve interfaces, errors, and make batch work v0.1.92
Diffstat (limited to 'refstore/files/errors.go')
-rw-r--r--refstore/files/errors.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/refstore/files/errors.go b/refstore/files/errors.go
deleted file mode 100644
index daa40849..00000000
--- a/refstore/files/errors.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package files
-
-import "fmt"
-
-type brokenRefError struct {
- name string
- err error
-}
-
-func (err brokenRefError) Error() string {
- return fmt.Sprintf("refstore/files: broken reference %q: %v", err.name, err.err)
-}
-
-func (err brokenRefError) Unwrap() error {
- return err.err
-}