mirror of https://github.com/apache/jclouds.git
Use as-blobstore when listing blobs in clojure wrapper.
Seems to be more forgiving and consistent this way.
This commit is contained in:
parent
b36d68417c
commit
7310d04ae5
|
@ -225,11 +225,11 @@ example:
|
||||||
\"somecontainer\" \"some-dir\"))
|
\"somecontainer\" \"some-dir\"))
|
||||||
"
|
"
|
||||||
([blobstore container-name]
|
([blobstore container-name]
|
||||||
(.list (.getBlobStore blobstore) container-name ))
|
(.list (as-blobstore blobstore) container-name))
|
||||||
|
|
||||||
([blobstore container-name dir]
|
([blobstore container-name prefix]
|
||||||
(.list (.getBlobStore blobstore) container-name
|
(.list (as-blobstore blobstore) container-name
|
||||||
(.inDirectory (new ListContainerOptions) dir))))
|
(.inDirectory (new ListContainerOptions) prefix))))
|
||||||
|
|
||||||
(defn create-blob
|
(defn create-blob
|
||||||
"Create an blob representing text data:
|
"Create an blob representing text data:
|
||||||
|
|
Loading…
Reference in New Issue