Codebase list kitchensink-clojure / d1a137b
(TK-315) Add a `normalized-path` replacement for raynes.fs version Chris Price 8 years ago
2 changed file(s) with 8 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
44 * [TK-315](https://tickets.puppetlabs.com/browse/TK-315) - update to latest version
55 of `raynes.fs` to reduce downstream dependency conflicts.
66 * Add an `absolute-path` fn to replace the one that was removed from raynes.fs
7 * Add a `normalized-path` fn to replace the one that was removed from raynes.fs
78
89 ## 1.2.0
910
613613 returns a File object."
614614 [path]
615615 (.getPath (fs/absolute path)))
616
617 (defn normalized-path
618 "Replacement for raynes.fs/normalized-path, which was removed in raynes.fs 1.4.6.
619 Returns string representation of absolute path, as opposed to fs/normalized, which
620 returns a File object."
621 [path]
622 (.getPath (fs/normalized path)))
616623
617624 ;; ## Temp files
618625