Renamed toUUID to parseUUID
This commit is contained in:
parent
3951521a16
commit
e9772338df
2 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@ proc genUUID*(): UUID =
|
|||
## Uses random values obtained from system source (e.g. urandom).
|
||||
## In the future this will use a cryptographically secure PRNG for efficiency.
|
||||
|
||||
proc toUUID*(s: string): UUID {.raises: [ValueError].}
|
||||
proc parseUUID*(s: string): UUID {.raises: [ValueError].}
|
||||
## Converts string representation of an UUID to UUID object.
|
||||
## Raises ValueError if invalid format is provided.
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue