Provides a targeted environment for a specific pod.
The WorkDirs and HomeDir are always queried if a pod is not found in a local repository.
virtual Str dump()
Dumps the FPM environment to a string. This includes the FPM Config and a list of resolved pods.
Pods used in this environment. This is a combination of pods from directory repositories, overridden by any resolved pods.
If the target could not be resolved, then this defaults to the latest version of all known local pods.
By acknowledging pods from fanHome and workDirs, this environment works in a more expected manner whereby pods not explicitly referenced can still be discovered at runtime (e.g. icons) and index meta inspected.
const Err? error
The error, if any, encountered when resolving pods for the target environment.
Find all the files in the environment which match a relative path such as
virtual override Str findAllPodNames()
Return the list of pod names for all the pods currently installed in this environment.
Find a file in the environment using a relative path such as
Resolve the pod file for the given pod name.
const FpmConfig fpmConfig
The config used for this environment.
Dependent pods that have been resolved specifically for
targetPod. Either this or
unresolvedPodswill be empty.
const Depend targetPod
The pod this environment is targeted to.
Dependent pods for which FPM could not reach a consensus on which version to use. Either this or
resolvedPodswill be empty.