node-file-utils icon indicating copy to clipboard operation
node-file-utils copied to clipboard

.walk and .walkSync treat symbolic links differently

Open elldritch opened this issue 9 years ago • 0 comments

file.walk uses fs.lstat which does NOT follow symlinks, but fs.walkSync uses fs.statSync which DOES follow symlinks. This is probably not intended behaviour. If it is intended, it should be documented (and ideally, this should be an option regardless of sync or async).

elldritch avatar Jun 17 '16 09:06 elldritch