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 depend
This pod's name and version expressed as a dependency.
- dependsOn
const Depend[] dependsOn
The 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
true
if this fits the given dependency.- fromFile
static new fromFile(File file)
Creates a
PodFile
from a file.- installTo
PodFile installTo(Repository repository)
Installs this pod in to the given repository. Returns the
PodFile
representation of the newly installed pod.- isCore
Bool isCore()
Returns
true
if this is a core Fantom pod.- isCorePod
Bool isCorePod()
Returns
true
if this is a core Fantom pod.- location
const Uri location
Absolute URL of where this pod is located.
- name
const Str name
The name of this pod.
- repository
const Repository repository
The repository where this pod file is held.
- version
const Version version
The version of this pod.