Enumerationswift-package-manager 6.0.1PackageMetadata
Source
PackageMetadata.swift:27enum Source
enum Source
import PackageMetadata
struct Package
case indexAndCollections(collections: [PackageCollectionsModel.CollectionIdentifier], indexes: [URL])
case registry(url: URL)
case sourceControl(url: SourceControlURL)
let author: Author?
let branches: [String]
let description: String?
let identity: PackageIdentity
let latestVersion: Version?
let licenseURL: URL?
let location: String?
let publishedAt: Date?
let readmeURL: URL?
let repositoryURLs: [SourceControlURL]?
let resources: [Resource]
let signingEntity: SigningEntity?
let source: Source
let versions: [Version]
struct Author
struct Organization
struct Resource
struct Signing