nhedger/compute-checksums
Compute per-file checksums for files matching glob patterns.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| patterns | Glob patterns to include or exclude. Use newline-separated values (preferred) or comma-separated values. Prefix with ! for excludes. | yes | — |
| algorithms | Hash algorithms to compute for each file. Supports md5, sha1, sha256, sha512. Use newline-separated values (preferred) or comma-separated values. | no | sha256 |
| root | Root directory to search from. | no | . |
| follow_symlinks | Whether to follow symlinks during directory traversal. | no | false |
Outputs
| name | description |
|---|---|
| all | JSON array containing all per-file checksums. |
| files | JSON object keyed by relative file path, containing digests by algorithm. |
| md5 | Checksum output for md5 (`digest path`) when md5 is selected. |
| sha1 | Checksum output for sha1 (`digest path`) when sha1 is selected. |
| sha256 | Checksum output for sha256 (`digest path`) when sha256 is selected. |
| sha512 | Checksum output for sha512 (`digest path`) when sha512 is selected. |