Merge branch 'master' of git@github.com:jclouds/jclouds

* 'master' of git@github.com:jclouds/jclouds:
  Use as-blobstore when listing blobs in clojure wrapper.
This commit is contained in:
Adrian Cole 2010-03-11 11:31:55 -08:00
commit a4ba069ad7
1 changed files with 4 additions and 4 deletions

View File

@ -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: