doc: path.format provide more examples
authorJohn Eversole <eversojk@gmail.com>
Tue, 22 Mar 2016 01:20:16 +0000 (18:20 -0700)
committerMyles Borins <mborins@us.ibm.com>
Mon, 11 Apr 2016 15:05:08 +0000 (11:05 -0400)
commitaed22d0855ef6ae64b798b232f10013a87d7f0e1
tree5f10f67d3249bac48c15860b883caf22439847a2
parent9702153107130353324f02f2d38f103b37f71559
doc: path.format provide more examples

This change was to add upon the algorithm description of path.format
by adding examples for unix systems that clarified behavior in
various scenarios.

PR-URL: https://github.com/nodejs/node/pull/5838
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
doc/api/path.markdown