Skip to content

Commit

Permalink
Up the maxFileCount parameter for listing files and add a few TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris White committed Feb 17, 2016
1 parent 46be558 commit 6d45eca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ public function download(array $options)

/**
* Retrieve a collection of File objects representing the files stored inside a bucket.
* // @TODO: allow specifying bucket via its name.
*
* @param array $options
* @return array
Expand All @@ -275,7 +276,7 @@ public function listFiles(array $options)
'json' => [
'bucketId' => $options['BucketId'],
'startFileName' => $nextFileName,
'maxFileCount' => 10
'maxFileCount' => 1000
]
]);

Expand All @@ -296,6 +297,7 @@ public function listFiles(array $options)

/**
* Returns a single File object representing a file stored on B2.
* @TODO: allow specifying file via its name and bucket.
*
* @param array $options
* @return File
Expand Down Expand Up @@ -323,6 +325,7 @@ public function getFile(array $options)

/**
* Deletes the file identified by ID from Backblaze B2.
* @TODO: allow deleting a file via its name and bucket.
*
* @param array $options
* @return bool
Expand Down

0 comments on commit 6d45eca

Please sign in to comment.