(deep-merge a & maps)
(diff-dirs dir1 dir2)
Determine if two directories have the same file structure and content. If differences, return list of relative filenames that are different and log diffs. If identical, return nil
Determine if two directories have the same file structure and content. If differences, return list of relative filenames that are different and log diffs. If identical, return nil
(dir-contents-map dir)
Create a datastructure representing a directory's structure and contents in order to compare it with another directory. Creates a map of: relative paths (string) -> md5 checksums (string) of all the files inside the directory. Nested directory paths are not checksummed and have a value of :dir
Create a datastructure representing a directory's structure and contents in order to compare it with another directory. Creates a map of: relative paths (string) -> md5 checksums (string) of all the files inside the directory. Nested directory paths are not checksummed and have a value of :dir
(ensure-overlay-dir overlay-dir-path)
(find-hiccup-str regex hiccup)
Find first string matching regular expression in deeply nested Hiccup tree
Find first string matching regular expression in deeply nested Hiccup tree
(kebab-case->lower-case s)
(kebab-case->title-case s)
(now-trunc-sec)
(page-key->url page-key)
(path->last-mod-inst path)
Returns Instant of last modified time of a file specified by path
Returns Instant of last modified time of a file specified by path
(prune-map x)
Removes kv-pairs of a map where the value is nil.
Removes kv-pairs of a map where the value is nil.
(safe-sh command & args)
(spy x)
(time-str->?inst time-str)
Converts date, datetime, or zoned datetime string into Instant. Returns nil if conversion cannot be done
Converts date, datetime, or zoned datetime string into Instant. Returns nil if conversion cannot be done
(url->page-key url)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close