operations_hashsumfile
Calculate the cryptographic hash of any file on a remote storage. Supports MD5, SHA1, and other algorithms with options for forced download or base64 encoding.
Instructions
Hash a single file — Returns the hash of a single file using the specified hash algorithm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fs | No | Remote name or path containing the file to hash. | |
| _async | No | Run the command asynchronously. Returns a job id immediately. | |
| _group | No | Assign the request to a custom stats group. | |
| base64 | No | Set to true to emit the hash value in base64 rather than hexadecimal. | |
| remote | No | Path to the specific file within `fs` to hash. | |
| download | No | Set to true to force reading the data instead of using remote checksums. | |
| hashType | No | Hash algorithm to use, e.g. `md5`, `sha1`, or another supported name. |