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