From 8cb7c02b4294d3f596633284abc144ba98b565b8 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Thu, 3 May 2018 14:09:36 +0200 Subject: proof-read documentation --- bulk.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'bulk.go') diff --git a/bulk.go b/bulk.go index 2d61437..5d6304b 100644 --- a/bulk.go +++ b/bulk.go @@ -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, -- cgit v1.2.3