Add support for the datastore API (early beta)

This commit is contained in:
2014-03-23 18:58:53 +01:00
parent fd846090f2
commit 558d54553c
9 changed files with 2208 additions and 4 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ func (db *Dropbox) UploadFileAES(key []byte, src, dst string, overwrite bool, pa
return db.FilesPutAES(key, fd, fsize, dst, overwrite, parentRev)
}
// DownloadAES downloads and decrypts the file located in the src path on Dropbox and return a io.ReadCloser.
// DownloadAES downloads and decrypts the file located in the src path on Dropbox and returns a io.ReadCloser.
func (db *Dropbox) DownloadAES(key []byte, src, rev string, offset int) (io.ReadCloser, error) {
var in io.ReadCloser
var size int64