mirror of https://github.com/apache/jclouds.git
Issue 202: with-details option for blobstore list
This commit is contained in:
parent
fab4a0fb4d
commit
45384de903
|
@ -85,6 +85,7 @@ Options can also be specified for extension modules
|
||||||
{:after-marker #(.afterMarker %1 %2)
|
{:after-marker #(.afterMarker %1 %2)
|
||||||
:in-directory #(.inDirectory %1 %2)
|
:in-directory #(.inDirectory %1 %2)
|
||||||
:max-results #(.maxResults %1 %2)
|
:max-results #(.maxResults %1 %2)
|
||||||
|
:with-details #(when %2 (.withDetails %1))
|
||||||
:recursive #(when %2 (.recursive %1))})
|
:recursive #(when %2 (.recursive %1))})
|
||||||
|
|
||||||
(defn list-container
|
(defn list-container
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
(is (upload-blob "container" "dir/blob2" "blob2"))
|
(is (upload-blob "container" "dir/blob2" "blob2"))
|
||||||
(is (= 3 (count (list-container "container"))))
|
(is (= 3 (count (list-container "container"))))
|
||||||
(is (= 4 (count (list-container "container" :recursive true))))
|
(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")))))
|
(is (= 1 (count (list-container "container" :in-directory "dir")))))
|
||||||
|
|
||||||
(deftest download-blob-test
|
(deftest download-blob-test
|
||||||
|
|
Loading…
Reference in New Issue