zeeside/Duplicates Checker
Checks all files in a given scope for duplicate text that can be harmul when deployed
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| check_name | A name for this check | no | — |
| directory_scope | Checks for duplicates will be evaluated in the scope of this directory | yes | — |
| check_file_extension | Checks for duplicates will be done only for files with this extension | yes | — |
| content_regex | The regular expression to use in checking for content | yes | — |
| max_files_to_process | This threshold limits the number of files to scan. It's a safeguard against locking up your build by scanning too many files. Default is 500 | no | 500 |
| max_file_size_bytes | This threshold limits the size of files to scan, to prevent memory overload. Default is 200Kb | no | 200000 |
| excluded_extensions | A comma delimited list of extensions to skip (extensions can include the dot prefix or not). This configuration allows skipping over files with certain extensions | no | "" |
| ignore_files | A comma delimited list of filenames to skip. This configuration allows skipping certain file names. Useful if you use the same settings in multiple environment configuration files. | no | "" |
| ignore_paths_containing | A comma delimited list of paths to skip. This configuration allows skipping certain paths. Useful if you have generated paths that have copies of files you do not want to check for duplicates. | yes | — |
| error_message | The message to output if duplicates are found | yes | — |
Outputs
| name | description |
|---|---|
| has_duplicates | True or false depending on if the check found duplicates |
| result_title | Title caption of result summary |
| result | The output after evaluating all checks |
| result_escaped | The output after evaluating all checks in escaped json format |