(->unix s)Normalize a path string to / separators. Java's File/Path APIs yield
\ on Windows; relative paths and the artifact/policy globs they're matched
against are always /-based, so a raw \ path silently fails every match.
Normalize a path string to `/` separators. Java's `File`/`Path` APIs yield `\` on Windows; relative paths and the artifact/policy globs they're matched against are always `/`-based, so a raw `\` path silently fails every match.
(file-identity-bytes root rel-path)Content identity for one repository path. Includes its relative path, file kind, executable bit, and bytes (or symlink target), but never timestamps.
Content identity for one repository path. Includes its relative path, file kind, executable bit, and bytes (or symlink target), but never timestamps.
(run-shell {:keys [command cwd timeout-ms shell]
:or {shell (default-shell-command) timeout-ms 300000}})(yaml-stringify data)Coerce EDN-shaped data into the JSON-compatible shape the YAML dumper
accepts: keywords (keys or values) become their qualified name and any other
non-string map key is stringified. Map KEYS are additionally rendered in
snake_case (kebab - -> _) so on-disk YAML matches the snake_case Vis
works in; keywordize-data maps them back to kebab keywords on read.
Coerce EDN-shaped data into the JSON-compatible shape the YAML dumper accepts: keywords (keys or values) become their qualified name and any other non-string map key is stringified. Map KEYS are additionally rendered in snake_case (kebab `-` -> `_`) so on-disk YAML matches the snake_case Vis works in; `keywordize-data` maps them back to kebab keywords on read.
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 |