-
Notifications
You must be signed in to change notification settings - Fork 300
-
What format does it accept? Strings? Regexes? Is there a way to differentiate between directories and files?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
Hi @OlaoluwaM, we use globbing patterns as the format for the --exclude pattern, which is the same format used in the .gitignore file, BTW, onefetch will respect all .gitignore and .ignore files in your repository.
The --exclude option affects two aspects:
- The LOC computation -> "Lines of code" info line and the Languages distribution. You can use this option to exclude both files (ex.:
onefetch -e **/info/*.rs) and directories (ex.:onefetch -e src/info) - The churn files -> In that case only files can be excluded via the option.
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment