Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 4dc8b26bbefb
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: 2d17193f2093
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Nov 21, 2014

  1. path: allow calling platform specific methods

    Add path.posix and path.win32 which have the specific methods like
    resolve and normalize so you can specifically normalize or resolve
    based on the target platform.
    
    PR-URL: #5661
    Reviewed-by: Chris Dickinson <christopher.s.dickinson@gmail.com>
    tjfontaine authored and chrisdickinson committed Nov 21, 2014
    Copy the full SHA
    6a90a06 View commit details
    Browse the repository at this point in the history
  2. 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: #6976
    PR-URL: #8750
    Reviewed-by: Julien Gilli <julien.gilli@joyent.com>
    roryrjb authored and chrisdickinson committed Nov 21, 2014
    Copy the full SHA
    2d17193 View commit details
    Browse the repository at this point in the history