Module directory

Procs

proc open(self: Directory; path: string): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc listDirBegin(self: Directory; skipNavigational: bool = false;
                 skipHidden: bool = false): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getNext(self: Directory): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc currentIsDir(self: Directory): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc listDirEnd(self: Directory) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getDriveCount(self: Directory): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getDrive(self: Directory; idx: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getCurrentDrive(self: Directory): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc changeDir(self: Directory; todir: string): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getCurrentDir(self: Directory): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc makeDir(self: Directory; path: string): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc makeDirRecursive(self: Directory; path: string): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc fileExists(self: Directory; path: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dirExists(self: Directory; path: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSpaceLeft(self: Directory): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc copy(self: Directory; fromm: string; to: string): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rename(self: Directory; fromm: string; to: string): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc remove(self: Directory; path: string): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}