Fixes 7283 (#7284)
This commit is contained in:
parent
86c3832201
commit
4790b6d63f
3 changed files with 14 additions and 1 deletions
|
|
@ -114,6 +114,10 @@ proc existsEnv*(key: string): bool {.tags: [ReadIOEffect].} =
|
|||
## Checks for the existence of an environment variable named `key`.
|
||||
builtin
|
||||
|
||||
proc putEnv*(key, val: string) {.tags: [WriteIOEffect].} =
|
||||
## Sets the value of the environment variable named key to val.
|
||||
builtin
|
||||
|
||||
proc fileExists*(filename: string): bool {.tags: [ReadIOEffect].} =
|
||||
## Checks if the file exists.
|
||||
builtin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue