- addLocalPackage
Package addLocalPackage(Path path, Version ver, LocalPackageType type)
Undocumented in source. Be warned that the author may not have intended to support it.
- addSearchPath
void addSearchPath(Path path, LocalPackageType type)
For the given type add another path where packages will be looked up.
- getBestPackage
Package getBestPackage(string name, string version_spec)
Undocumented in source. Be warned that the author may not have intended to support it.
- getBestPackage
Package getBestPackage(string name, Dependency version_spec)
Undocumented in source. Be warned that the author may not have intended to support it.
- getFirstPackage
Package getFirstPackage(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackage
Package getPackage(string name, Version ver)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackage
Package getPackage(string name, string ver, Path in_path)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackage
Package getPackage(string name, Version ver, Path in_path)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackage
Package getPackage(string name, string ver)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackage
Package getPackage(Path path)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackageIterator
int delegate(int delegate(ref Package)) getPackageIterator()
Undocumented in source. Be warned that the author may not have intended to support it.
- getPackageIterator
int delegate(int delegate(ref Package)) getPackageIterator(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- getTemporaryPackage
Package getTemporaryPackage(Path path, Version ver)
Undocumented in source. Be warned that the author may not have intended to support it.
- hashPackage
Hash hashPackage(Package pack)
Generates a hash value for a given package.
Some files or folders are ignored during the generation (like .dub and
.svn folders)
- install
Package install(Path zip_file_path, Json package_info, Path destination)
Installs the package supplied as a path to it's zip file to the
destination.
- refresh
void refresh(bool refresh_existing_packages)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeLocalPackage
void removeLocalPackage(Path path, LocalPackageType type)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeSearchPath
void removeSearchPath(Path path, LocalPackageType type)
Removes a search path from the given type.
- uninstall
void uninstall(Package pack)
Uninstalls the given the package.
The PackageManager can retrieve installed packages and install / uninstall packages.