This commit is contained in:
JMARyA 2024-03-08 22:22:49 +01:00
parent 5584be0f1b
commit ba9c43c0bf
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
5 changed files with 158 additions and 75 deletions

View file

@ -530,10 +530,10 @@ These functions can fail, for example if a path does not have an extension, whic
#### Error Reporting
- `error(message)` - Abort execution and report error `message` to user.
#### UUID and Hash Generation
#### [UUID](../../linux/UUID.md) and Hash Generation
- `sha256(string)` - Return the [SHA](../../cryptography/SHA.md)-256 hash of `string` as a hexadecimal string.
- `sha256_file(path)` - Return the [SHA](../../cryptography/SHA.md)-256 hash of the file at `path` as a hexadecimal string.
- `uuid()` - Return a randomly generated UUID.
- `uuid()` - Return a randomly generated [UUID](../../linux/UUID.md).
### Recipe Attributes
Recipes may be annotated with attributes that change their behavior.