Liking cljdoc? Tell your friends :D

cider.enrich-classpath.locks


in-process-lockclj

Although Lein invocation concurrency is primarily inter-process, it can also be in-process: https://git.io/JLdS8

This lock guards against in-process concurrent acquisition of a FileLock, which would otherwise throw a java.nio.channels.OverlappingFileLockException.

Although Lein invocation concurrency is primarily inter-process, it can also be in-process: https://git.io/JLdS8

This lock guards against in-process concurrent acquisition of a FileLock,
which would otherwise throw a `java.nio.channels.OverlappingFileLockException`.
sourceraw docstring

locking-fileclj

(locking-file filename f)

These file locks guard against concurrent Lein executions, which could otherwise corrupt a given file.

These file locks guard against concurrent Lein executions, which could otherwise corrupt a given file.
sourceraw docstring

nonclosing-slurpclj

(nonclosing-slurp f)

Like #'slurp, but does not close f, so that the underlying channel isn't closed either.

Like `#'slurp`, but does not close `f`, so that the underlying channel isn't closed either.
sourceraw docstring

nonclosing-spitclj

(nonclosing-spit f content)

Like #'spit, but does not close f, so that the underlying channel isn't closed either.

Like `#'spit`, but does not close `f`, so that the underlying channel isn't closed either.
sourceraw docstring

read!clj

(read! ch)
source

read-file!clj

(read-file! filename)
source

write!clj

(write! ch s)
source

write-file!clj

(write-file! filename merge-fn)
source

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

× close