"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
build: fix whitespace changes due to go1.11 gofmt changes
Nick Craig-Woodc19d1ae9a55f
diff --git a/backend/box/box.go b/backend/box/box.goindex 337584b78..9ee8c9ff8 100644--- a/backend/box/box.go+++ b/backend/box/box.go@@ -1014,8 +1014,8 @@ func (o *Object) upload(in io.Reader, leaf, directoryID string, modTime time.Timvar resp *http.Responsevar result api.FolderItemsopts := rest.Opts{- Method: "POST",- Body: in,+ Method: "POST",+ Body: in,MultipartMetadataName: "attributes",MultipartContentName: "contents",MultipartFileName: upload.Name,diff --git a/backend/drive/drive.go b/backend/drive/drive.goindex 6843a6854..c818de85b 100644--- a/backend/drive/drive.go+++ b/backend/drive/drive.go@@ -68,26 +68,26 @@ var (RedirectURL: oauthutil.TitleBarRedirectURL,}mimeTypeToExtension = map[string]string{- "application/epub+zip": "epub",- "application/msword": "doc",- "application/pdf": "pdf",- "application/rtf": "rtf",- "application/vnd.ms-excel": "xls",- "application/vnd.oasis.opendocument.presentation": "odp",- "application/vnd.oasis.opendocument.spreadsheet": "ods",- "application/vnd.oasis.opendocument.text": "odt",+ "application/epub+zip": "epub",+ "application/msword": "doc",+ "application/pdf": "pdf",+ "application/rtf": "rtf",+ "application/vnd.ms-excel": "xls",+ "application/vnd.oasis.opendocument.presentation": "odp",+ "application/vnd.oasis.opendocument.spreadsheet": "ods",+ "application/vnd.oasis.opendocument.text": "odt","application/vnd.openxmlformats-officedocument.presentationml.presentation": "pptx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "xlsx","application/vnd.openxmlformats-officedocument.wordprocessingml.document": "docx","application/x-vnd.oasis.opendocument.spreadsheet": "ods",- "application/zip": "zip",- "image/jpeg": "jpg",- "image/png": "png",- "image/svg+xml": "svg",- "text/csv": "csv",- "text/html": "html",- "text/plain": "txt",- "text/tab-separated-values": "tsv",+ "application/zip": "zip",+ "image/jpeg": "jpg",+ "image/png": "png",+ "image/svg+xml": "svg",+ "text/csv": "csv",+ "text/html": "html",+ "text/plain": "txt",+ "text/tab-separated-values": "tsv",}extensionToMimeType map[string]stringpartialFields = "id,name,size,md5Checksum,trashed,modifiedTime,createdTime,mimeType,parents"