Enumerationswift-package-manager 6.0.1PackagePlugin
PackageOrigin
Represents the origin of a package as it appears in the graph.
PackageModel.swift:54enum PackageOrigin
Cases
case root
A root package (unversioned).
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).