Enhance os module type decls

This commit is contained in:
Shunsuke Shibayama 2022-12-06 02:08:46 +09:00
parent 84fba0a9d7
commit b003c33953
2 changed files with 11 additions and 0 deletions

View file

@ -15,3 +15,6 @@
# posix = pyimport "posix"
# .uname!: () => posix.UnameResult
.getrandom!: (size: Nat) => Bytes
.urandom!: (size: Nat) => Bytes

View file

@ -1 +1,9 @@
.dirname!: (path: PathLike,) => Str
.exists!: (path: PathLike,) => Bool
.lexists!: (path: PathLike,) => Bool
.expanduser!: (path: PathLike,) => Str
.expandvars!: (path: PathLike,) => Str
.isfile!: (path: PathLike,) => Bool
.isdir!: (path: PathLike,) => Bool
.islink!: (path: PathLike,) => Bool
.ismount!: (path: PathLike,) => Bool