Liking cljdoc? Tell your friends :D

jj.bettong.impl.files

Path resolution and the file operations behind the filesystem capability. Every path goes through resolve-path, which is where confinement to a root and the refusal to touch credential files live.

Path resolution and the file operations behind the filesystem capability.
Every path goes through `resolve-path`, which is where confinement to a root
and the refusal to touch credential files live.
raw docstring

delete-fileclj

(delete-file opts {:keys [path]})

list-dirclj

(list-dir opts {:keys [path]})

read-fileclj

(read-file opts {:keys [path]})

resolve-pathclj

(resolve-path {:keys [root allow-secrets?]} path)

Resolves path to an absolute canonical File. When root is non-nil the result must stay inside it, otherwise an exception is thrown.

Resolves `path` to an absolute canonical File. When `root` is non-nil the
result must stay inside it, otherwise an exception is thrown.
raw docstring

secret-path?clj

(secret-path? path)

secret-pathsclj

Files that hold credentials. Reading is the default grant, so these are refused unless a caller says otherwise - an agent that can read anything can read your keys, and everything it reads is uploaded.

Files that hold credentials. Reading is the default grant, so these are
refused unless a caller says otherwise - an agent that can read anything can
read your keys, and everything it reads is uploaded.
raw docstring

write-fileclj

(write-file opts {:keys [path content]})

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close