const classafFpm::PodFile

sys::Obj
  afFpm::PodFile

Represents a pod backed by a repository.

delete

Source

Void delete()

Deletes this pod from its owning repository.

depend

Source

const Depend depend

This pod's name and version expressed as a dependency.

dependsOn

Source

const Depend[] dependsOn

The dependencies of this pod.

file

Source

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

Source

Bool fits(Depend depend)

Returns true if this fits the given dependency.

fromFile

Source

static new fromFile(File file)

Creates a PodFile from a file.

installTo

Source

PodFile installTo(Repository repository)

Installs this pod in to the given repository. Returns the PodFile representation of the newly installed pod.

isCore

Source

Bool isCore()

Returns true if this is a core Fantom pod.

isCorePod

Source

Bool isCorePod()

Returns true if this is a core Fantom pod.

location

Source

const Uri location

Absolute URL of where this pod is located.

name

Source

const Str name

The name of this pod.

repository

Source

const Repository repository

The repository where this pod file is held.

version

Source

const Version version

The version of this pod.