Skip to content

Simple utility for path manipulation. An exercise in Clojure.

License

Notifications You must be signed in to change notification settings

dcrall/path.util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

path.util

A Clojure library designed to help with basic path manipulation. An exercise in Clojure.

Usage

(-> (def-path "one" "two")
    (separator ", ")
    (append "three" "four")
    (append-if not-blank? "five" "six")
    (path-string))
; "one, two, three, four, five, six"
  
(parse-path "one/two/three/four" "/")
; { :separator "/" :components ["one" "two" "three" "four"]}    

About

Simple utility for path manipulation. An exercise in Clojure.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published