diff --git a/blobstore/src/main/clojure/org/jclouds/blobstore.clj b/blobstore/src/main/clojure/org/jclouds/blobstore.clj index c8a353c673..de13cb6bac 100644 --- a/blobstore/src/main/clojure/org/jclouds/blobstore.clj +++ b/blobstore/src/main/clojure/org/jclouds/blobstore.clj @@ -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 diff --git a/blobstore/src/test/clojure/org/jclouds/blobstore_test.clj b/blobstore/src/test/clojure/org/jclouds/blobstore_test.clj index 424fe024c1..b764890fa6 100644 --- a/blobstore/src/test/clojure/org/jclouds/blobstore_test.clj +++ b/blobstore/src/test/clojure/org/jclouds/blobstore_test.clj @@ -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