Public Vars

Back

canonicalize (clj)

(source)

function

(canonicalize f) (canonicalize f {:keys [:nofollow-links]})
Returns the canonical path via java.io.File#getCanonicalPath. If `:nofollow-links` is set, then it will fall back on `absolutize` + `normalize.` This function can be used as an alternative to `real-path` which requires files to exist.

Examples