Skip to content

Commit

Permalink
Mods
Browse files Browse the repository at this point in the history
  • Loading branch information
madprops committed Aug 23, 2024
1 parent 4e4aaf4 commit a14a65e
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,17 @@ Arguments:

## Ignored Files

![](https://i.imgur.com/VV7DzjT.jpg)
```nim
# Check if the path component is valid
proc valid_component(c: string): bool =
let not_valid = c.starts_with(".") or
c == "node_modules" or
c == "package-lock.json" or
c == "venv" or
c == "build" or
c.contains("bundle.") or
c.contains(".min.") or
c.ends_with(".zip") or
c.ends_with(".tar.gz")
return not not_valid
```

0 comments on commit a14a65e

Please sign in to comment.