const classafFpm::PodFile
sys::Obj afFpm::PodFile
Represents a pod backed by a repository.
- delete
Void delete()Deletes this pod from its owning repository.
- depend
const Depend dependThis pod's name and version expressed as a dependency.
- dependsOn
const Depend[] dependsOnThe dependencies of this pod.
- file
File file()The backing file for this pod. If the pod has a remote location, this will download it to a local / memory representation.
- fits
Returns
trueif this fits the given dependency.- fromFile
static new fromFile(File file)Creates a
PodFilefrom a file.- installTo
PodFile installTo(Repository repository)Installs this pod in to the given repository. Returns the
PodFilerepresentation of the newly installed pod.- isCore
Bool isCore()Returns
trueif this is a core Fantom pod.- isCorePod
Bool isCorePod()Returns
trueif this is a core Fantom pod.- location
const Uri locationAbsolute URL of where this pod is located.
- name
const Str nameThe name of this pod.
- repository
const Repository repositoryThe repository where this pod file is held.
- version
const Version versionThe version of this pod.