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`.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close