add uuid
This commit is contained in:
parent
5584be0f1b
commit
ba9c43c0bf
5 changed files with 158 additions and 75 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue