const class util::PathEnv
PathEnv is a simple implementation of a Fantom environment which uses a search path to resolve files.
pathfor all versions of given file.
virtual override Str findAllPodNames()
pathfor all "lib/fan/*.pod" files.
pathfor given file.
Constructor initializes the search path using the
FAN_ENV_PATHenvironment variable (see
virtual override File path()
Search path of directories in priority order. The last item in the path is always the
virtual override File tempDir()
Temp directory is always under
Get 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."
virtual override File workDir()
Working directory is always first item in