const class util::PathEnv
sys::Obj sys::Env util::PathEnv
PathEnv is a simple implementation of a Fantom environment which uses a search path to resolve files.
- findAllFiles
 - 
virtual override File[] findAllFiles(Uri uri)Search
pathfor all versions of given file. - findAllPodNames
 - 
virtual override Str[] findAllPodNames()Search
pathfor all "lib/fan/*.pod" files. - findFile
 - 
virtual override File? findFile(Uri uri, Bool checked := true)Search
pathfor given file. - make
 - 
new make()Constructor initializes the search path using the
FAN_ENV_PATHenvironment variable (seeEnv.vars). - path
 - 
virtual override File[] path()Search path of directories in priority order. The last item in the path is always the
Env.homeDir - tempDir
 - 
virtual override File tempDir()Temp directory is always under
workDir. - vars
 - 
virtual const override Str:Str varsGet the environment variables as a case insensitive, immutable map of Str name/value pairs. The environment map is initialized from the following sources from lowest priority to highest priority:
- shell environment variables
 - Java system properties (Java VM only obviously)
 - props in "fan.props" prefixed with "env."
 
 - workDir
 - 
virtual override File workDir()Working directory is always first item in
path.