Liking cljdoc? Tell your friends :D

tech.io

Wrapper for tech io subsystem designed to be drop in replacement for some use cases of clojure.java.io.

Wrapper for tech io subsystem designed to be drop in replacement for some use cases
of clojure.java.io.
raw docstring

*enable-poor-api-naming?*clj

source

*provider-fn*clj

source

copyclj

(copy src dest & args)
source

delete!clj

(delete! url & options)

Delete a resource. Works currently with file or s3.

Delete a resource.  Works currently with file or s3.
sourceraw docstring

enable-poor-api-naming!clj

(enable-poor-api-naming!)
source

enable-s3!clj

(enable-s3!)
source

exists?clj

(exists? url & options)

Boolean existence check. Works with everything as fallback is to open an input stream and then close it.

Boolean existence check.  Works with everything as fallback is to open
an input stream and then close it.
sourceraw docstring

fileclj

(file path-or-url)

Wrapper around

Wrapper around 
sourceraw docstring

get-ednclj

(get-edn url & options)

Get edn data from a url

Get edn data from a url
sourceraw docstring

get-imageclj

(get-image path-or-url)
source

get-nippyclj

(get-nippy url & options)

Get nippy data from a url

Get nippy data from a url
sourceraw docstring

get-objectclj

(get-object url & options)

Get object always returns something convertible to an input-stream. It may return a file for instance.

Get object always returns something convertible to an input-stream.
It may return a file for instance.
sourceraw docstring

input-streamclj

(input-stream url & options)

thing->input-stream conversion. Falls back to clojure.java.io if url is not a string url

thing->input-stream conversion.  Falls back to clojure.java.io if url is not a string url
sourceraw docstring

lsclj

(ls url & {:keys [recursive?] :as options})

Return a directory listing. May be recursive if desired; only works with file or s3 providers.

Return a directory listing.  May be recursive if desired; only works with file
or s3 providers.
sourceraw docstring

make-parentsclj

source

metadataclj

(metadata url & options)

If supported, returns at least :modify-date and :byte-length. Exception otherwise.

If supported, returns at least :modify-date and :byte-length.
Exception otherwise.
sourceraw docstring

output-streamclj

source

output-stream!clj

(output-stream! url & options)

thing->output-stream conversion. Falls back to clojure.java.io if url is not a string url

thing->output-stream conversion.  Falls back to clojure.java.io if url is not a string url
sourceraw docstring

put-edn!clj

(put-edn! url data & options)

Put edn data to a url

Put edn data to a url
sourceraw docstring

put-image!clj

(put-image! image path-or-url & {:as options})

Will throw if an image with transparency is used to write a jpeg

Will throw if an image with transparency is used to write a jpeg
sourceraw docstring

put-nippy!clj

(put-nippy! url data & options)

Put nippy data to a url

Put nippy data to a url
sourceraw docstring

put-objectclj

source

put-object!clj

(put-object! url value & options)

Put object. Object must be a byte-array, a file, or an input-stream. Strings will be interpreted as per the rules of clojure.java.io/input-stream. The most optimizations will apply to either files or byte arrays.

Put object.  Object must be a byte-array, a file, or an input-stream.
Strings will be interpreted as per the rules of clojure.java.io/input-stream.
The most optimizations will apply to either files or byte arrays.
sourceraw docstring

readerclj

source

with-providercljmacro

(with-provider provider & body)
source

with-provider-fncljmacro

(with-provider-fn provider-fn & body)
source

writerclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close