const mixinafFpm::PodManager
afFpm::PodManager
The public API for FPM.
- make
static new make(FpmConfig? fpmConfig := null)
Creates a
PodManager
instance.- publishPod
abstract PodFile publishPod(File pod, Str? repo := null, Str? username := null, Str? password := null)
Publishes a pod file to the given repository.
repo
may be:- a named local repository. Example,
default
- a named remote repository. Example,
fantomFactory
- the directory of a local repository. Example,
C:\repo-release\
- the URL of a remote repositry. Example,
http://pods.fantomfactory.org/fanr/
Returns a
PodFile
representing the newly published pod.repo
defaults todefault
if not specified.- a named local repository. Example,
- queryLocalRepositories
abstract PodFile[] queryLocalRepositories(Str query)
Returns
PodFiles
from the local repositories that match the given query.- unPublishPod
abstract Void unPublishPod(Str pod, Str? repo)
Deletes the named pod from the local repository.