aboutsummaryrefslogtreecommitdiff
path: root/format/packfile/ingest/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'format/packfile/ingest/api.go')
-rw-r--r--format/packfile/ingest/api.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/format/packfile/ingest/api.go b/format/packfile/ingest/api.go
index 5d999d61..ad04fe14 100644
--- a/format/packfile/ingest/api.go
+++ b/format/packfile/ingest/api.go
@@ -7,6 +7,7 @@ import (
"io"
"os"
+ "codeberg.org/lindenii/furgit/common/iowrap"
objectid "codeberg.org/lindenii/furgit/object/id"
objectstore "codeberg.org/lindenii/furgit/object/store"
)
@@ -22,11 +23,7 @@ type Options struct {
// Progress receives human-readable progress messages.
//
// When nil, no progress output is emitted.
- Progress io.Writer
- // ProgressFlush flushes transport output after progress writes.
- //
- // When nil, no explicit flush is attempted.
- ProgressFlush func() error
+ Progress iowrap.WriteFlusher
// RequireTrailingEOF requires the source to hit EOF after the pack trailer.
//
// This is suitable for exact pack-file readers, but should be disabled for