(create-or-open dl tx-ctx path-seq)
(create-or-open dl tx-ctx path-seq layer-name)
Create or open a subdirectory at path.
returns: java.util.concurrent.CompletableFuture<DirectorySubspace>
[async] Async call, invoke .join
to block until the value is returned.
Create or open a subdirectory at path. returns: java.util.concurrent.CompletableFuture<DirectorySubspace> [async] Async call, invoke `.join` to block until the value is returned.
(directory-layer)
Get the default DirectoryLayer
Get the default DirectoryLayer
(exists? dl tx-ctx path-seq)
Check if path exists.
[async] Async call, invoke .join
to block until the value is returned.
Check if path exists. [async] Async call, invoke `.join` to block until the value is returned.
(ls dl tx-ctx path-seq)
List subdirectories at path.
[async] Async call, invoke .join
to block until the value is returned.
List subdirectories at path. [async] Async call, invoke `.join` to block until the value is returned.
(rm! dl tx-ctx path-seq)
Removes directory at path-seq and all of its subdirectories and contents.
[async] Async call, invoke .join
to block until the value is returned.
Removes directory at path-seq and all of its subdirectories and contents. [async] Async call, invoke `.join` to block until the value is returned.
(rm-if-exists!? dl tx-ctx path-seq)
Removes directory at path-seq and all of its subdirectories and contents. Returns true if the directory was removed.
[async] Async call, invoke .join
to block until the value is returned.
Removes directory at path-seq and all of its subdirectories and contents. Returns true if the directory was removed. [async] Async call, invoke `.join` to block until the value is returned.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close