deprecated ospaths (#9665)
This commit is contained in:
parent
8507e506ce
commit
8d850f7a69
13 changed files with 838 additions and 811 deletions
|
|
@ -50,7 +50,8 @@ when defined(windows):
|
|||
SIGTERM = cint(15)
|
||||
elif defined(macosx) or defined(linux) or defined(freebsd) or
|
||||
defined(openbsd) or defined(netbsd) or defined(solaris) or
|
||||
defined(dragonfly) or defined(nintendoswitch) or defined(genode):
|
||||
defined(dragonfly) or defined(nintendoswitch) or defined(genode) or
|
||||
defined(aix):
|
||||
const
|
||||
SIGABRT = cint(6)
|
||||
SIGFPE = cint(8)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ proc listFiles*(dir: string): seq[string] =
|
|||
## Lists all the files (non-recursively) in the directory `dir`.
|
||||
builtin
|
||||
|
||||
proc removeDir(dir: string){.
|
||||
proc removeDir(dir: string) {.
|
||||
tags: [ReadIOEffect, WriteIOEffect], raises: [OSError].} = builtin
|
||||
proc removeFile(dir: string) {.
|
||||
tags: [ReadIOEffect, WriteIOEffect], raises: [OSError].} = builtin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue