XetoEnv
@Js
const abstract class XetoEnv : Obj
XetoEnv models the server side file system search path.
Construct a namespace for the given set of lib versions for this env
Current environment for the VM
List of paths to search for libraries in both src and lib format
Build varaibles
Repository of all installed xeto libs
Default install directory for xeto install
Working directory - first directory in the path
Home directory where xeto software is installed Not available in browser environemnts
abstract Str:Str buildVars()
Build varaibles
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.
static XetoEnv cur()
Current environment for the VM
abstract File homeDir()
Home directory where xeto software is installed Not available in browser environemnts.
abstract File installDir()
Default install directory for xeto install. Default is the workDir Not available in browser environemnts.
abstract File[] path()
List of paths to search for libraries in both src and lib format. Not available in browser environemnts.
abstract LibRepo repo()
Repository of all installed xeto libs. Not available in browser environemnts.
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.