0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 23:43:09 +01:00
nodejs/doc/api
Nathan Woltman d1000b4137 path: make format() consistent and more functional
Make the win32 and posix versions of path.format() consistent in when
they add a directory separator between the dir and base parts of the
path (always add it unless the dir part is the same as the root).

Also, path.format() is now more functional in that it uses the name
and ext parts of the path if the base part is left out and it uses
the root part if the dir part is left out.

Reviewed-By: João Reis <reis@janeasystems.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/2408
2015-11-27 11:53:33 +00:00
..
_toc.markdown deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
addons.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
all.markdown deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
assert.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
buffer.markdown doc: add reference for buffer.inspect() 2015-11-19 13:02:32 -05:00
child_process.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
cluster.markdown doc: fix broken references 2015-11-20 11:52:23 -08:00
console.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
crypto.markdown doc: Adding best practises for crypto.pbkdf2 2015-11-23 17:49:52 +09:00
debugger.markdown debugger: introduce exec method for debugger 2015-11-17 12:11:40 -08:00
dgram.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
dns.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
documentation.markdown node: rename from io.js to node 2015-08-23 17:59:43 -04:00
domain.markdown doc: small typo in domain.markdown 2015-08-25 18:52:05 -07:00
errors.markdown doc: fix broken references 2015-11-20 11:52:23 -08:00
events.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
fs.markdown doc: numeric flags to fs.open 2015-11-22 13:35:09 +01:00
globals.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
http.markdown doc: message.header duplication correction 2015-11-24 16:16:01 +01:00
https.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
index.markdown
modules.markdown doc: replace sane with reasonable 2015-11-23 14:47:55 +01:00
net.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
os.markdown doc: sort os alphabetically 2015-11-12 17:39:55 -08:00
path.markdown path: make format() consistent and more functional 2015-11-27 11:53:33 +00:00
process.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
punycode.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
querystring.markdown doc: sort querystring alphabetically 2015-11-12 17:40:07 -08:00
readline.markdown doc: sort readline alphabetically 2015-11-12 17:40:33 -08:00
repl.markdown doc: sort repl alphabetically 2015-11-16 22:45:53 -08:00
stream.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
string_decoder.markdown doc: sort string_decoder alphabetically 2015-11-12 17:40:26 -08:00
synopsis.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
timers.markdown doc: sort timers alphabetically 2015-11-12 17:40:23 -08:00
tls.markdown doc: fix broken references 2015-11-20 11:52:23 -08:00
tty.markdown tty: Remove deprecated setRawMode wrapper 2015-11-18 13:16:02 -08:00
url.markdown doc: sort url alphabetically 2015-11-12 17:40:15 -08:00
util.markdown util: remove pump 2015-11-18 14:28:35 -08:00
v8.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
vm.markdown module: fix column offsets in errors 2015-11-20 16:26:24 -05:00
zlib.markdown doc: fix broken references 2015-11-20 11:52:23 -08:00