(copy-file-to-storage storage src dest-uri)
(copy-file-to-storage storage src dest-gs-uri & options)
Convenience function for copying a local file to a blob to storage. By default the type is JSON encoded in UTF-8
Convenience function for copying a local file to a blob to storage. By default the type is JSON encoded in UTF-8
(download-file-from-storage storage source-gs-uri dest-local-path & options)
Downloads a storage file to a local one. Usage : (download-file-from-storage storage-client 'gs://mybucket/myfolder/.../myfile' 'mylocalfile')
Downloads a storage file to a local one. Usage : (download-file-from-storage storage-client 'gs://mybucket/myfolder/.../myfile' 'mylocalfile')
(file->stream local-path output-stream)
Writes an local file to stream
Writes an local file to stream
(get-or-create-bucket storage info)
Fetches or creates a bucket if it doesn't exist
Fetches or creates a bucket if it doesn't exist
(ls storage gs-uri)
(ls storage bucket path)
(ls storage bucket path options)
Usage: (ls storage gs-uri [options]) (ls storage bucket path [options])
Usage: (ls storage gs-uri [options]) (ls storage bucket path [options])
(stream->file input-stream local-path)
Writes an input stream to disk
Writes an input stream to disk
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close