class

XetoEnv

@Js
const abstract class XetoEnv : Obj

XetoEnv models the server side file system search path.

methods createNamespace

Construct a namespace for the given set of lib versions for this env

cur

Current environment for the VM

path

List of paths to search for libraries in both src and lib format

buildVars

Build varaibles

repo

Repository of all installed xeto libs

installDir

Default install directory for xeto install

workDir

Working directory - first directory in the path

homeDir

Home directory where xeto software is installed Not available in browser environemnts

buildVars abstract Str:Str buildVars()

Build varaibles

createNamespace abstract Namespace createNamespace(LibVersion[] libs)

Construct a namespace for the given set of lib versions for this env. This method does not solve the dependency graph. The list of lib versions passed must be a complete dependency tree that satisifies all version constraints.

cur static XetoEnv cur()

Current environment for the VM

homeDir abstract File homeDir()

Home directory where xeto software is installed Not available in browser environemnts.

installDir abstract File installDir()

Default install directory for xeto install. Default is the workDir Not available in browser environemnts.

path abstract File[] path()

List of paths to search for libraries in both src and lib format. Not available in browser environemnts.

repo abstract LibRepo repo()

Repository of all installed xeto libs. Not available in browser environemnts.

workDir abstract File workDir()

Working directory - first directory in the path. The workDir is used as default location for xeto init to create new libs. Not available in browser environemnts.

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST