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

Source

const Str:PodFile allPodFiles

A map of all pods used in this environment. Similar to resolvedPodFiles but additionally includes all pods from podDirs, workDirs, and the homeDir.

dump

Source

Str dump()

Dumps the FPM environment to a string. This includes the FPM Config and a list of resolved pods.

error

Source

const Err? error

The error, if any, encountered when resolving pods for the target environment.

findAllFiles

Source

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

Source

virtual override Str[] findAllPodNames()

Return the list of pod names for all the pods currently installed in this environment.

findFile

Source

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

Source

virtual override File? findPodFile(Str podName)

Resolve the pod file for the given pod name.

fpmConfig

Source

const FpmConfig fpmConfig

The config used for this environment.

resolvedPodFiles

Source

const Str:PodFile resolvedPodFiles

A map of dependent pods that have been resolved specifically for the targetPod.

targetPod

Source

const Str targetPod

The name of the pod this environment is targeted to.

unresolvedPods

Source

const UnresolvedPod[] unresolvedPods

A list of unsatisfied pods for this targeted environment.