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\"))
|
||||
"
|
||||
([blobstore container-name]
|
||||
(.list (.getBlobStore blobstore) container-name ))
|
||||
(.list (as-blobstore blobstore) container-name))
|
||||
|
||||
([blobstore container-name dir]
|
||||
(.list (.getBlobStore blobstore) container-name
|
||||
(.inDirectory (new ListContainerOptions) dir))))
|
||||
([blobstore container-name prefix]
|
||||
(.list (as-blobstore blobstore) container-name
|
||||
(.inDirectory (new ListContainerOptions) prefix))))
|
||||
|
||||
(defn create-blob
|
||||
"Create an blob representing text data:
|
||||
|
|
Loading…
Reference in New Issue