Oh! Then we're good! :D This thread is now about ponies.
--Josh On Mon, Jun 4, 2012 at 9:15 PM, Isaac Schlueter <[email protected]> wrote: > That's already how it works, though. > > $ mkdir a > $ touch x > $ node >> fs.existsSync('x/.') > false >> fs.existsSync('a/.') > true > > In 0.6.18: > >> path.existsSync('x/.') > false >> path.existsSync('a/.') > true > > On Mon, Jun 4, 2012 at 8:54 PM, dhruvbird <[email protected]> wrote: >> Hello, >> >> I think Massimo has a point here. If "/myfile" is a regular file, then >> pathname resolution to "/myfile/." should fails and exists should imho >> return false. Only in the case that "/myfile" is a directory should >> the call return true. >> >> Regards, >> -Dhruv. >> >> On Jun 1, 12:00 pm, Mark Hahn <[email protected]> wrote: >>> You want `existsSync` to tell you if a path is a directory or a file. But >>> `existsSync` doesn't do that. You would need to make that a feature >>> request. >>> >>> >>> >>> >>> >>> >>> >>> On Fri, Jun 1, 2012 at 11:51 AM, Massimo Melina <[email protected]> wrote: >>> > clear enough, thank you! >>> > i consider it an unwanted side-effect of the normalization. >>> >>> > -- >>> > Job Board:http://jobs.nodejs.org/ >>> > Posting guidelines: >>> >https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >>> > You received this message because you are subscribed to the Google >>> > Groups "nodejs" group. >>> > To post to this group, send email to [email protected] >>> > To unsubscribe from this group, send email to >>> > [email protected] >>> > For more options, visit this group at >>> >http://groups.google.com/group/nodejs?hl=en?hl=en >> >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Joshua Holbrook Engineer Nodejitsu Inc. [email protected] -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
