summaryrefslogtreecommitdiff
path: root/testing.go
diff options
context:
space:
mode:
Diffstat (limited to 'testing.go')
-rw-r--r--testing.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/testing.go b/testing.go
deleted file mode 100644
index 8286abc..0000000
--- a/testing.go
+++ /dev/null
@@ -1,15 +0,0 @@
-package s3
-
-func (fs *Fs) listBuckets() ([]string, error) {
- ctx, cancel := fs.contextWithTimeout()
- defer cancel()
- bucketInfos, err := fs.client.ListBuckets(ctx)
- if err != nil {
- return nil, err
- }
- buckets := make([]string, 0, len(bucketInfos))
- for _, bi := range bucketInfos {
- buckets = append(buckets, bi.Name)
- }
- return buckets, nil
-}