forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
37
Kha/Tools/linux_arm64/std/eval/luv/Path.hx
Normal file
37
Kha/Tools/linux_arm64/std/eval/luv/Path.hx
Normal file
@ -0,0 +1,37 @@
|
||||
package eval.luv;
|
||||
|
||||
import eval.integers.Int64;
|
||||
import eval.integers.UInt64;
|
||||
|
||||
/**
|
||||
Relevant directories.
|
||||
|
||||
@see https://aantron.github.io/luv/luv/Luv/Path
|
||||
**/
|
||||
extern class Path {
|
||||
/**
|
||||
Evaluates to the executable's path.
|
||||
It's always the path to the Haxe compiler.
|
||||
**/
|
||||
static function exePath():Result<NativeString>;
|
||||
|
||||
/**
|
||||
Evaluates to the current working directory.
|
||||
**/
|
||||
static function cwd():Result<NativeString>;
|
||||
|
||||
/**
|
||||
Changes the current working directory.
|
||||
**/
|
||||
static function chdir(dir:NativeString):Result<Result.NoData>;
|
||||
|
||||
/**
|
||||
Evaluates to the path of the home directory.
|
||||
**/
|
||||
static function homedir():Result<NativeString>;
|
||||
|
||||
/**
|
||||
Evaluates to the path of the temporary directory.
|
||||
**/
|
||||
static function tmpdir():Result<NativeString>;
|
||||
}
|
Reference in New Issue
Block a user