Procs
proc is_absolute(self: Path): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
proc is_relative_to(self: Path; other: Path): bool {....raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc is_relative_to(self: Path; other: string): bool {....raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc is_symlink(self: Path): bool {....raises: [], tags: [ReadDirEffect], forbids: [].}
- Source Edit
proc mkdirParentsExistsOk(self: Path) {....raises: [OSError, IOError], tags: [WriteDirEffect, ReadDirEffect], forbids: [].}
-
EXT. equal to path.mkdir(parents=True, exists_ok=True)
not for JS backend
Source Edit proc read_nstring(self: Path): string {....raises: [IOError], tags: [ReadIOEffect], forbids: [].}
- EXT. Source Edit
proc write_nstring(self, s: string) {....raises: [IOError], tags: [WriteIOEffect], forbids: [].}
- EXT. Source Edit