Get checksum for file
- 18 May 2022
- 1 Minute to read
- DarkLight
- PDF
Get checksum for file
- Updated on 18 May 2022
- 1 Minute to read
- DarkLight
- PDF
Article Summary
Gets a checksum for the target file with the given algorithm.
Input arguments
Label | Key | Type | Required? | Default | Description |
---|---|---|---|---|---|
File path | path | String(local-filesystem-reference) | Yes | – | Absolute local filesystem path to the target file to get checksum for. |
Algorithm | algorithm | String | Yes | sha256 | Algorithm to calculate the checksum with. |
Output arguments
Number of outputs: 2
Label | Key | Type | Description |
---|---|---|---|
Checksum | checksum | String | Checksum of the file as calculated by the selected algorithm. |
Events
No events.
Errors
Label | Code | Description |
---|---|---|
File not found | fileNotFound | Thrown if the target file could not be found. |
Was this article helpful?