diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2018-05-03 14:09:36 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2018-05-03 14:09:36 +0200 |
| commit | 8cb7c02b4294d3f596633284abc144ba98b565b8 (patch) | |
| tree | d171d6614aaee0e53b1ebea3c9345e3ff65af4a3 /bulk.go | |
| parent | 1a64fd95e191e87b9d0c1e0e9556cff92fc230a5 (diff) | |
| download | go-schwift-8cb7c02b4294d3f596633284abc144ba98b565b8.tar.gz | |
proof-read documentation
Diffstat (limited to 'bulk.go')
| -rw-r--r-- | bulk.go | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -60,8 +60,7 @@ const ( //if some files could not be saved individually (e.g. because a quota was //exceeded in the middle of the archive extraction). // -//If not nil, the error return value is *usually* an instance of -//BulkError. +//If not nil, the error return value is *usually* an instance of BulkError. // //This operation returns (0, ErrNotSupported) if the server does not support //bulk-uploading. @@ -125,7 +124,7 @@ func makeBulkObjectError(fullName string, statusCode int) BulkObjectError { // var container *schwift.Container // // objects, err := container.Objects().Collect() -// numDeleted, numNotFound, err := container.Account().BulkDelete(objects, nil, nil, nil) +// numDeleted, numNotFound, err := container.Account().BulkDelete(objects, nil, nil) // //To also delete the container: // @@ -133,13 +132,12 @@ func makeBulkObjectError(fullName string, statusCode int) BulkObjectError { // // objects, err := container.Objects().Collect() // numDeleted, numNotFound, err := container.Account().BulkDelete( -// objects, []*schwift.Container{container}, nil, nil) +// objects, []*schwift.Container{container}, nil) // //If the server does not support bulk-deletion, this function falls back to //deleting each object and container individually, and aggregates the result. // -//If not nil, the error return value is *usually* an instance of -//BulkError. +//If not nil, the error return value is *usually* an instance of BulkError. // //The objects may be located in multiple containers, but they and the //containers must all be located in the given account. (Otherwise, |
