aboutsummaryrefslogtreecommitdiff
path: root/format/pack/ingest/errors.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-06 11:04:15 +0800
committerGravatar Runxi Yu2026-03-06 11:16:16 +0800
commit6945464a0438396de97b9bc28c1bd31c22456092 (patch)
tree94de06ad52d6fdff77c6d05dc5c415c65a8311e6 /format/pack/ingest/errors.go
parentreachability: Split walk files (diff)
signatureNo signature
format/pack/ingest: Split files
Diffstat (limited to 'format/pack/ingest/errors.go')
-rw-r--r--format/pack/ingest/errors.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/format/pack/ingest/errors.go b/format/pack/ingest/errors.go
index 1fc321e7..cd65d3cf 100644
--- a/format/pack/ingest/errors.go
+++ b/format/pack/ingest/errors.go
@@ -1,6 +1,9 @@
package ingest
-import "fmt"
+import (
+ "errors"
+ "fmt"
+)
// ErrInvalidPackHeader reports an invalid or unsupported pack header.
type ErrInvalidPackHeader struct {
@@ -61,3 +64,5 @@ type ErrDestinationWrite struct {
func (err *ErrDestinationWrite) Error() string {
return fmt.Sprintf("format/pack/ingest: destination write failure: %s", err.Op)
}
+
+var errExternalThinBase = errors.New("format/pack/ingest: external thin base required")