aboutsummaryrefslogtreecommitdiff
path: root/format/pack/ingest/ingest.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-06 18:38:44 +0800
committerGravatar Runxi Yu2026-03-06 18:58:30 +0800
commitf2922155de01b734e3e8b3f50be8f263ec13cacd (patch)
tree6dcfcf5689e63eea09314dce543e1de26cab89fe /format/pack/ingest/ingest.go
parentinternal/compress: Format (diff)
signatureNo signature
*: Lint v0.1.68
Diffstat (limited to 'format/pack/ingest/ingest.go')
-rw-r--r--format/pack/ingest/ingest.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/format/pack/ingest/ingest.go b/format/pack/ingest/ingest.go
index df6c6627..22007d27 100644
--- a/format/pack/ingest/ingest.go
+++ b/format/pack/ingest/ingest.go
@@ -39,7 +39,7 @@ func ingest(state *ingestState) (out Result, err error) {
}
if len(state.unresolvedRefDeltas) > 0 {
- return Result{}, &ErrThinPackUnresolved{Count: len(state.unresolvedRefDeltas)}
+ return Result{}, &ThinPackUnresolvedError{Count: len(state.unresolvedRefDeltas)}
}
err = verifyResolvedRecords(state)
@@ -49,7 +49,7 @@ func ingest(state *ingestState) (out Result, err error) {
err = state.packFile.Sync()
if err != nil {
- return Result{}, &ErrDestinationWrite{Op: fmt.Sprintf("sync pack: %v", err)}
+ return Result{}, &DestinationWriteError{Op: fmt.Sprintf("sync pack: %v", err)}
}
err = writeIdx(state)