This commit is contained in:
Dante
2026-05-21 20:15:16 -07:00
parent fe8bd1e307
commit add4d4cc87
2664 changed files with 198448 additions and 0 deletions

View 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>;
}