You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: