Contents

PackageOrigin.repository(url:displayVersion:scmRevision:)

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), and the corresponding SCM revision.

Declaration

case repository(url: String, displayVersion: String, scmRevision: String)

Discussion

The revision is the Git commit hash and may be useful for plugins that generates source code that includes version information.

See Also

Package Origins