Value objects. Every other namespace speaks in these shapes.
Intent what the caller wants, language-neutral. Verdict tri-state truth of a capability: :yes, :no, :unknown. Evidence why a verdict (or a text constraint) holds: a probe run with its exit status and output, or an explicit declaration. Profile capabilities + text constraints + the evidence behind them. Result what the planner returns, always carrying its justification.
Value objects. Every other namespace speaks in these shapes.
Intent what the caller wants, language-neutral.
Verdict tri-state truth of a capability: :yes, :no, :unknown.
Evidence why a verdict (or a text constraint) holds: a probe run with
its exit status and output, or an explicit declaration.
Profile capabilities + text constraints + the evidence behind them.
Result what the planner returns, always carrying its justification.An exec argument: any string without NUL, which no argv entry can hold.
An exec argument: any string without NUL, which no argv entry can hold.
(http-url? s)True for a string naming an http:// or https:// URL (scheme in lower case) with no ASCII control character. Every other scheme (file:, ftp:, ...) and every option-like word (a leading -) is refused, so no fetch tool can read it as anything but an http URL; a control character (CR LF above all) could split the HTTP request a fetch tool writes, so it is refused too.
True for a string naming an http:// or https:// URL (scheme in lower case) with no ASCII control character. Every other scheme (file:, ftp:, ...) and every option-like word (a leading -) is refused, so no fetch tool can read it as anything but an http URL; a control character (CR LF above all) could split the HTTP request a fetch tool writes, so it is refused too.
A target language: :sh, :python, or any language a module registers (see grammar.core/modules). Open, so a new language is data, not a schema edit.
A target language: :sh, :python, or any language a module registers (see grammar.core/modules). Open, so a new language is data, not a schema edit.
A filesystem path an operation acts on: non-empty, no NUL.
A filesystem path an operation acts on: non-empty, no NUL.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |