Issue 202: with-details option for blobstore list

This commit is contained in:
Adrian Cole 2010-04-06 19:33:26 -07:00
parent fab4a0fb4d
commit 45384de903
2 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,7 @@ Options can also be specified for extension modules
{:after-marker #(.afterMarker %1 %2)
:in-directory #(.inDirectory %1 %2)
:max-results #(.maxResults %1 %2)
:with-details #(when %2 (.withDetails %1))
:recursive #(when %2 (.recursive %1))})
(defn list-container

View File

@ -48,6 +48,7 @@
(is (upload-blob "container" "dir/blob2" "blob2"))
(is (= 3 (count (list-container "container"))))
(is (= 4 (count (list-container "container" :recursive true))))
(is (= 3 (count (list-container "container" :with-details true))))
(is (= 1 (count (list-container "container" :in-directory "dir")))))
(deftest download-blob-test