Skip to content

.walk and .walkSync treat symbolic links differently #15

@elldritch

Description

@elldritch

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions