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`.
raw 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.
raw 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.
raw 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.
raw docstring

read!clj

(read! ch)

read-file!clj

(read-file! filename)

write!clj

(write! ch s)

write-file!clj

(write-file! filename merge-fn)

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

× close