Use as-blobstore when listing blobs in clojure wrapper.

Seems to be more forgiving and consistent this way.
This commit is contained in:
Phil Hagelberg 2010-03-11 11:21:55 -08:00
parent b36d68417c
commit 7310d04ae5
1 changed files with 4 additions and 4 deletions

View File

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