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
path
for all versions of given file. - findAllPodNames
-
virtual override Str[] findAllPodNames()
Search
path
for all "lib/fan/*.pod" files. - findFile
-
virtual override File? findFile(Uri uri, Bool checked := true)
Search
path
for given file. - make
-
new make()
Constructor initializes the search path using the
FAN_ENV_PATH
environment variable (seeEnv.vars
). - path
-
const File[] path
Search path of directories in priority order. The last item in the path is always the
Env.homeDir
- tempDir
-
virtual const override File tempDir
Temp directory is always under
workDir
. - workDir
-
virtual const override File workDir
Working directory is always first item in
path
.