aboutsummaryrefslogtreecommitdiff
path: root/tar.go
diff options
context:
space:
mode:
Diffstat (limited to 'tar.go')
-rw-r--r--tar.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tar.go b/tar.go
index feb3b34..02b8957 100644
--- a/tar.go
+++ b/tar.go
@@ -6,9 +6,10 @@ import (
"os"
"github.com/n-peugnet/dna-backup/logger"
+ "github.com/n-peugnet/dna-backup/repo"
)
-func streamFilesTar(files []File, stream io.WriteCloser) {
+func streamFilesTar(files []repo.File, stream io.WriteCloser) {
tarStream := tar.NewWriter(stream)
for _, f := range files {
file, err := os.Open(f.Path)