mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 20:34:44 +00:00
17 lines
541 B
Python
17 lines
541 B
Python
.path = pyimport "path"
|
|
|
|
.name: Str
|
|
|
|
.chdir!: (path: PathLike, ) => NoneType
|
|
.getcwd!: () => Str
|
|
.getenv!: (key: Str, default: Str or NoneType := NoneType) => Str
|
|
.listdir!: (path := PathLike,) => [Str; _]
|
|
.mkdir!: (path: PathLike, mode := Nat) => NoneType
|
|
.putenv!: (key: Str, value: Str) => NoneType
|
|
.remove!: (path: PathLike,) => NoneType
|
|
.removedirs!: (path: PathLike,) => NoneType
|
|
.rename!: (src: PathLike, dst: PathLike) => NoneType
|
|
.rmdir!: (path: PathLike,) => NoneType
|
|
|
|
# posix = pyimport "posix"
|
|
# .uname!: () => posix.UnameResult
|