Automatically find Git repositories, ask Git which directories are ignored, and add those directories to the macOS Time Machine exclusion list.
No .gitignore parsing. Git is the source of truth.
| #!/bin/bash | |
| SCRIPT=$(basename "$0") | |
| exitWithError () { | |
| echo -e "$1" 1>&2 | |
| exit 1 | |
| } | |
| usage () { |
| #!/bin/bash | |
| SCRIPT=$(basename "$0") | |
| exitWithError () { | |
| echo -e "$1" 1>&2 | |
| exit 1 | |
| } | |
| usage () { |
| import React from 'react'; | |
| // TYPES | |
| interface PropsCheckerProps<T> { | |
| children: (props: T) => React.ReactElement | null; | |
| childrenProps: T; | |
| compType?: ComparaisonTypes; | |
| verbose?: boolean; | |
| } |