From 6945464a0438396de97b9bc28c1bd31c22456092 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 6 Mar 2026 11:04:15 +0800 Subject: format/pack/ingest: Split files --- format/pack/ingest/errors.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'format/pack/ingest/errors.go') 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") -- cgit v1.3.1-10-gc9f91