Commit 2d17193f authored by Rory Bradford's avatar Rory Bradford Committed by Chris Dickinson
Browse files

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. Fixes #6976.

Fixes: https://github.com/joyent/node/issues/6976
PR-URL: https://github.com/joyent/node/pull/8750


Reviewed-by: default avatarJulien Gilli <julien.gilli@joyent.com>
parent 6a90a060
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment