Utility functions for handling I/O.
Type: var
Added: 1.2
Arguments:
[stream]
Ensure a stream is closed, swallowing any exceptions.
Type: var
Added: 1.2
Arguments:
[file]
Returns the last modified date for a file, rounded down to the nearest
second.
Type: var
Added: 1.1
Arguments:
[func]
Create an input stream from a function that takes an output stream as its
argument. The function will be executed in a separate thread. The stream
will be automatically closed after the function finishes.
For example:
(piped-input-stream
(fn [ostream]
(spit ostream "Hello")))
Type: var
Added: 1.1
Arguments:
[s]
[s encoding]
Returns a ByteArrayInputStream for the given String.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close