Static variables

staticread onlypathsep:String

staticread onlysep:String

Static methods

staticchdir(path:String):Void

staticgetcwd():String

staticgetcwdb():Bytes

@:value({ path : "." })staticlistdir(path:String = "."):Array<String>

@:value({ exist_ok : false, mode : 511 })staticmakedirs(path:String, mode:Int = 511, exist_ok:Bool = false):Void

@:value({ mode : 511 })staticmkdir(path:String, mode:Int = 511):Void

staticputenv(name:String, value:String):Void

staticremove(path:String):Void

staticremovedirs(path:String):Void

staticrename(src:String, dest:String):Void

staticrenames(oldName:String, newName:String):Void

staticrmdir(path:String):Void

staticstat(path:String):Stat

staticunlink(path:String):Void

staticunsetenv(name:String):Void

Removes the value for the environment variable name.

When targeting python versions prior to 3.9, this function may not exist on some platforms.

@:value({ followlinks : false, onerror : null, topdown : true })staticwalk(top:String, topdown:Bool = true, ?onerror:OSError ‑> Void, followlinks:Bool = false):Tuple3<String, Array<String>, Array<String>>