abstract const classafFpm::FpmEnv
sys::Obj sys::Env afFpm::FpmEnv
Provides a targeted environment for a specific pod.
The WorkDirs and HomeDir are always queried if a pod is not found in a local repostitory..
- allPodFiles
A map of all pods used in this environment. Similar to
resolvedPodFiles
but additionally includes all pods frompodDirs
,workDirs
, and thehomeDir
.- dump
Str dump()
Dumps the FPM environment to a string. This includes the FPM Config and a list of resolved pods.
- error
const Err? error
The error, if any, encountered when resolving pods for the target environment.
- findAllFiles
virtual override File[] findAllFiles(Uri uri)
Find all the files in the environment which match a relative path such as
etc/foo/config.props
.- findAllPodNames
virtual override Str[] findAllPodNames()
Return the list of pod names for all the pods currently installed in this environment.
- findFile
virtual override File? findFile(Uri uri, Bool checked := true)
Find a file in the environment using a relative path such as
etc/foo/config.props
.- findPodFile
virtual override File? findPodFile(Str podName)
Resolve the pod file for the given pod name.
- fpmConfig
const FpmConfig fpmConfig
The config used for this environment.
- resolvedPodFiles
const Str:PodFile resolvedPodFiles
A map of dependent pods that have been resolved specifically for the
targetPod
.- targetPod
const Str targetPod
The name of the pod this environment is targeted to.
- unresolvedPods
const UnresolvedPod[] unresolvedPods
A list of unsatisfied pods for this targeted environment.