I see. What I want to do is to handle more errors not just exists as an enhancement, that let this clib do more processes about file. but now, I'm totally agreed with u, if u want to close this, I would like to do all of this feature, and do another PR, if this PR is not closed, I would like to continue to do related commits.

TJ Holowaychuk <notifications@github.com> wrote:

>In src/file.c:
>
>> @@ -30,7 +30,7 @@ > > int > file_exists(const char *filename) { > - return -1 != file_size(filename); > + return -ENOENT != file_size(filename); 
>
>i think what we have is fine, basically you want to know if you can operate on the file, so if there's any error that's usually not good
>
>—
>Reply to this email directly or view it on GitHub.￼
>