Instance Propertyswift-package-manager 6.0.1PackageCollectionsModel
license
The package’s current license info
let license: PackageCollectionModel.V1.License?
The package’s current license info
let license: PackageCollectionModel.V1.License?
s23PackageCollectionsModel0a10CollectionC0O2V1O0D0V0A0V7licenseAE7LicenseVSgvp
What are these?FA1I
import PackageCollectionsModel
struct Package
enum PackageCollectionModel
enum V1
struct Collection
struct License
init(from decoder: any Decoder) throws
init(url: URL, identity: String? = nil, summary: String?, keywords: [String]?, versions: [PackageCollectionModel.V1.Collection.Package.Version], readmeURL: URL?, license: PackageCollectionModel.V1.License?)
Creates a Package
let identity: String?
Package identity for registry (https://github.com/swiftlang/swift-package-manager/blob/main/Documentation/PackageRegistry/Registry.md#36-package-identification).
let keywords: [String]?
An array of keywords that the package is associated with.
let readmeURL: URL?
The URL of the package’s README.
let summary: String?
A description of the package.
let url: URL
The URL of the package. Currently only Git repository URLs are supported.
let versions: [PackageCollectionModel.V1.Collection.Package.Version]
An array of version objects representing the most recent and/or relevant releases of the package.
struct Version