"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
pcloud: make compile with go1.6
Nick Craig-Wooda1d942e5c35f
diff --git a/pcloud/api/types.go b/pcloud/api/types.goindex bf4ad3032..b74d916c3 100644--- a/pcloud/api/types.go+++ b/pcloud/api/types.go@@ -135,7 +135,7 @@ func (g *GetFileLinkResult) IsValid() bool {if len(g.Hosts) == 0 {return false}- return time.Until(time.Time(g.Expires)) > 30*time.Second+ return time.Time(g.Expires).Sub(time.Now()) > 30*time.Second}// URL returns a URL from the Path and Hosts. Check with IsValid