aboutsummaryrefslogtreecommitdiffstats
path: root/drive/sync_download.go
diff options
context:
space:
mode:
Diffstat (limited to 'drive/sync_download.go')
-rw-r--r--drive/sync_download.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/drive/sync_download.go b/drive/sync_download.go
index 7da16bd..f18cb18 100644
--- a/drive/sync_download.go
+++ b/drive/sync_download.go
@@ -18,6 +18,7 @@ type DownloadSyncArgs struct {
Path string
DryRun bool
DeleteExtraneous bool
+ Comparer FileComparer
}
func (self *Drive) DownloadSync(args DownloadSyncArgs) error {
@@ -31,7 +32,7 @@ func (self *Drive) DownloadSync(args DownloadSyncArgs) error {
}
fmt.Fprintln(args.Out, "Collecting local and remote file information...")
- files, err := self.prepareSyncFiles(args.Path, rootDir)
+ files, err := self.prepareSyncFiles(args.Path, rootDir, args.Comparer)
if err != nil {
return err
}