joyent/node — pull request #7429 by roryrjb (2014-04-08 21:50:34+00:00)
Title: path: added parse() and format() functions

The parse() function splits a path and returns an object with the different elements.
The format() function is the reverse of this and adds an objects corresponding path
elements to make up a string. #6976