Oh! Then we're good! :D

This thread is now about ponies.

--Josh

On Mon, Jun 4, 2012 at 9:15 PM, Isaac Schlueter <i...@izs.me> 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 <dhruvb...@gmail.com> 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 <m...@hahnca.com> 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 <reje...@gmail.com> 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 nodejs@googlegroups.com
>>> > To unsubscribe from this group, send email to
>>> > nodejs+unsubscr...@googlegroups.com
>>> > 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 nodejs@googlegroups.com
>> To unsubscribe from this group, send email to
>> nodejs+unsubscr...@googlegroups.com
>> 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 nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en



-- 
Joshua Holbrook
Engineer
Nodejitsu Inc.
j...@nodejitsu.com

-- 
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to