aboutsummaryrefslogtreecommitdiff
path: root/packfile/ingest/errors.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-22 22:46:10 +0000
committerGravatar Runxi Yu2026-03-22 22:46:10 +0000
commitd2d3ce370816d178cc0beb4271123ee37d07657c (patch)
tree728f074457ed49a676d5c3b77d69b40d40021241 /packfile/ingest/errors.go
parentrefstore, repository: Ownership/lifetimes fix (diff)
signatureNo signature
packfile/ingest: Document lifecycle of pack ingest better
Diffstat (limited to 'packfile/ingest/errors.go')
-rw-r--r--packfile/ingest/errors.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/packfile/ingest/errors.go b/packfile/ingest/errors.go
index 6292d790..f6ee9757 100644
--- a/packfile/ingest/errors.go
+++ b/packfile/ingest/errors.go
@@ -68,8 +68,6 @@ func (err *DestinationWriteError) Error() string {
var errExternalThinBase = errors.New("packfile/ingest: external thin base required")
var (
- // ErrAlreadyFinalized indicates Continue/Discard already called.
- ErrAlreadyFinalized = errors.New("packfile/ingest: operation already finalized")
// ErrZeroObjectContinue indicates Continue was called for a zero-object pack.
ErrZeroObjectContinue = errors.New("packfile/ingest: cannot continue zero-object pack")
// ErrNonZeroDiscard indicates Discard was called for a non-zero-object pack.