LicenseType
An enum of license types
License.swift:26enum LicenseType
Cases
case Apache2_0
Apache License 2.0
case BSD2Clause
BSD 2-Clause license
case BSD3Clause
BSD 3-Clause license
case GPL2_0
GNU General Public License 2.0
case GPL3_0
GNU General Public License 3.0
case LGPL2_0
GNU Library General Public License 2.0
case LGPL2_1
GNU Library General Public License 2.1
case LGPL3_0
GNU Library General Public License 3.0
case MIT
MIT license
case MPL2_0
Mozilla Public License 2.0
case CDDL1_0
Common Development and Distribution License 1.0
case EPL2_0
Eclipse Public License version 2.0
case other(String?)
Other license type
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (20) members.
Types
struct CVE
A representation of Common Vulnerabilities and Exposures (CVE)
struct Collection
A
Collection
is a collection of packages.enum CollectionIdentifier
Represents the identifier of a
Collection
struct CollectionSource
Represents the source of a
Collection
enum CollectionSourceType
Represents the source type of a
Collection
struct Compatibility
Compatible platform and Swift version.
struct License
A representation of a package license
struct Package
Package metadata
struct PackageSearchResult
A representation of package in search result
struct PaginatedPackageList
A representation of paginated list of packages.
struct Product
A representation of package product
struct SignatureData
Package collection signature metadata
struct Signer
enum SignerType
struct Target
A representation of package target
struct TargetListItem
struct TargetSearchResult
A representation of target in search result
enum TargetSearchType
An enum of target search types
Typealiases
Citizens in PackageCollections
Conformances
protocol CaseIterable
A type that provides a collection of all of its values.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
Types
Type members
Instance members
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.