s3,swift: Add --use-server-modtime

`--use-server-modtime` stops s3 and swift retrieving the modtime from metadata which enables a fast sync mode with the `--update` flag.
This commit is contained in:
Peter Baumgartner
2018-04-13 13:32:17 +01:00
committed by Nick Craig-Wood
parent 6b67489133
commit 1db68571fd
7 changed files with 47 additions and 0 deletions
+1
View File
@@ -67,6 +67,7 @@ type ConfigInfo struct {
StreamingUploadCutoff SizeSuffix
StatsFileNameLength int
AskPassword bool
UseServerModTime bool
}
// NewConfig creates a new config with everything set to the default