Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.workspace.read-gate

The one read gate for a file that a person opens on the gateway machine: the session's filesystem roots, its draft rules, the configured deny rules and the :fs/access gate hooks. The file preview, the media stream and an attachment that keeps a reference to a file (#450) all ask here, so none of them can show a file that another of them refuses.

The one read gate for a file that a person opens on the gateway machine: the
session's filesystem roots, its draft rules, the configured deny rules and the
`:fs/access` gate hooks. The file preview, the media stream and an attachment
that keeps a reference to a file (#450) all ask here, so none of them can show
a file that another of them refuses.
raw docstring

env-rootclj

(env-root env)

The canonical root of the live workspace of env, or nil.

The canonical root of the live workspace of `env`, or nil.
sourceraw docstring

readable-fileclj

(readable-file env root requested)

Resolve requested under root with the filesystem roots and read gates of env. Returns {:file f} for a readable regular file, else {:refusal {:status :type :message :path?}} with the HTTP status that a route answers.

Resolve `requested` under `root` with the filesystem roots and read gates of `env`.
Returns `{:file f}` for a readable regular file, else `{:refusal {:status :type
:message :path?}}` with the HTTP status that a route answers.
sourceraw docstring

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