const mixinafFpm::PodManager
afFpm::PodManager
The public API for FPM.
- make
static new make(FpmConfig? fpmConfig := null)Creates a
PodManagerinstance.- publishPod
abstract PodFile publishPod(File pod, Str? repo := null, Str? username := null, Str? password := null)Publishes a pod file to the given repository.
repomay 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
PodFilerepresenting the newly published pod.repodefaults todefaultif not specified.- a named local repository. Example,
- queryLocalRepositories
abstract PodFile[] queryLocalRepositories(Str query)Returns
PodFilesfrom the local repositories that match the given query.- unPublishPod
abstract Void unPublishPod(Str pod, Str? repo)Deletes the named pod from the local repository.