Skip to content

Different behavior of fs.readdirSync in node and skpm #36

@VitaliyZaharenko

Description

@VitaliyZaharenko

Hello.
In node fs.readdirSync not traverse all directory tree.
In @skpm version fs.readdirSync uses NSFileManagersubpathsAtPath: which according to the documentation:
"This method recurses the specified directory and its subdirectories. The method skips the “.” and “..” directories at each level of the recursion."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions