Enumeration Caseswift-package-manager 6.0.3PackagePlugin
root
A root package (unversioned).
case root
A root package (unversioned).
case root
import PackagePlugin
enum PackageOrigin
Represents the origin of a package as it appears in the graph.
case local(path: String)
A local package, referenced by path (unversioned).
case repository(url: String, displayVersion: String, scmRevision: String)
A package from a Git repository, with a URL and with a textual description of the resolved version or branch name (for display purposes only), along with the corresponding SCM revision. The revision is the Git commit hash and may be useful for plugins that generates source code that includes version information.
case registry(identity: String, displayVersion: String)
A package from a registry, with an identity and with a textual description of the resolved version or branch name (for display purposes only).