aboutsummaryrefslogtreecommitdiff
path: root/repo/export.go
diff options
context:
space:
mode:
Diffstat (limited to 'repo/export.go')
-rw-r--r--repo/export.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/repo/export.go b/repo/export.go
index dd12077..bcadd06 100644
--- a/repo/export.go
+++ b/repo/export.go
@@ -29,7 +29,8 @@ func (r *Repo) Export(exporter export.Exporter) {
chunks := r.loadChunks(r.versions)
for i := range r.versions {
var err error
- input, end := exporter.ExportVersion()
+ end := make(chan bool)
+ input := exporter.ExportVersion(end)
if len(chunks[i]) > 0 {
for _, c := range chunks[i] {
_, err := io.Copy(input.Chunks, c.Reader())