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
-
const File[] pathSearch path of directories in priority order. The last item in the path is always the
Env.homeDir - tempDir
-
virtual const override File tempDirTemp directory is always under
workDir. - workDir
-
virtual const override File workDirWorking directory is always first item in
path.