Liking cljdoc? Tell your friends :D

vivid.art.cli.files

File and path handling common to this ART CLI library in general.

File and path handling common to this ART CLI library in general.
raw docstring

->template-pathclj

(->template-path base-path template-file)

Takes a base path and a path to a template-file (ostensibly within the base path) and returns a map indicating the providence :src-path and the intended output path of the template file :dest-rel-path relative to the batch's :output-dir.

Takes a base path and a path to a template-file (ostensibly within the
base path) and returns a map indicating the providence :src-path and the
intended output path of the template file :dest-rel-path relative to the
batch's :output-dir.
sourceraw docstring

art-filename-suffixclj

source

art-filename-suffix-regexclj

source

art-template-file?clj

(art-template-file? f)
source

paths->template-paths!clj

(paths->template-paths! paths)

Finds all ART templates either at the given paths (as template files) or within their sub-trees (as a directory). This function is impure, as it directly scans the filesystem subtree of each of the paths.

Finds all ART templates either at the given paths (as template files) or
within their sub-trees (as a directory). This function is impure, as it
directly scans the filesystem subtree of each of the paths.
sourceraw docstring

prohibited-template-output-filenamesclj

Attempting to (over-)write or delete these filenames might have undesirable or catastrophic consequences.

Attempting to (over-)write or delete these filenames might have
undesirable or catastrophic consequences.
sourceraw docstring

relative-pathclj

(relative-path base path)

A seq of path elements (as strings) from base to path.

A seq of path elements (as strings) from base to path.
sourceraw docstring

strip-art-filename-suffixclj

(strip-art-filename-suffix path)
source

template-file-seqclj

(template-file-seq path)

seq of all .art template files within the sub-dir hierarchy rooted in path.

seq of all .art template files within the sub-dir hierarchy rooted in path.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close