diff options
| author | Petter Rasmussen | 2015-03-22 12:33:13 +0100 |
|---|---|---|
| committer | Petter Rasmussen | 2015-03-22 12:33:13 +0100 |
| commit | 7c06afaabdcfb7982cd1c39d2fc0f23f56f51202 (patch) | |
| tree | 27dcfbfe4fa5dafd02a30259dc4953ec244a8079 | |
| parent | f88d083e8e7538be15911d559a29f1ad66eb6a49 (diff) | |
| download | gdrive-7c06afaabdcfb7982cd1c39d2fc0f23f56f51202.tar.bz2 | |
Set default chunk size to 4 MiB
See prasmussen/google-api-go-client@01eb774
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | drive.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -69,7 +69,7 @@ If you want to compile from source you need the go toolchain: http://golang.org/ --share Share uploaded file --mimetype The MIME type (default will try to figure it out) --convert File will be converted to Google Docs format - -C, --chunksize Set chunk size in bytes. Minimum is 262144, default is 1048576. Recommended to be a power of two. + -C, --chunksize Set chunk size in bytes. Minimum is 262144, default is 4194304. Recommended to be a power of two. url: -i, --id File Id (*) -p, --preview Generate preview url (default) @@ -48,7 +48,7 @@ type Options struct { Share bool `goptions:"--share, description='Share uploaded file'"` MimeType string `goptions:"--mimetype, description='The MIME type (default will try to figure it out)'"` Convert bool `goptions:"--convert, description='File will be converted to Google Docs format'"` - ChunkSize int64 `goptions:"-C, --chunksize, description='Set chunk size in bytes. Minimum is 262144, default is 1048576. Recommended to be a power of two.'"` + ChunkSize int64 `goptions:"-C, --chunksize, description='Set chunk size in bytes. Minimum is 262144, default is 4194304. Recommended to be a power of two.'"` } `goptions:"upload"` Download struct { |
