Skip to content

convert array to map for matching files/folders #17

@dpastoor

Description

@dpastoor

When implementing #16 I realized, that as of now as it is looping through regex's, a file might be matched by multiple, thereby being appended multiple times to the matched array. Converting to a map would only keep track of the single instance, and we don't care about iteration order.

It could also allow for better ignore options, eg match all but keep file named (x) , where can just lookup and delete file if exists before passing to the removal function

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