mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-30 12:51:10 +00:00
Enhance os
module type decls
This commit is contained in:
parent
84fba0a9d7
commit
b003c33953
2 changed files with 11 additions and 0 deletions
|
@ -15,3 +15,6 @@
|
|||
|
||||
# posix = pyimport "posix"
|
||||
# .uname!: () => posix.UnameResult
|
||||
|
||||
.getrandom!: (size: Nat) => Bytes
|
||||
.urandom!: (size: Nat) => Bytes
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue