Kind
Represents the kind of artifact that was built. The specific file formats may vary from platform to platform — for example, on macOS a dynamic library may in fact be built as a framework.
enum Kind
Represents the kind of artifact that was built. The specific file formats may vary from platform to platform — for example, on macOS a dynamic library may in fact be built as a framework.
enum Kind
s13PackagePlugin0A7ManagerV11BuildResultV13BuiltArtifactV4KindO
What are these?6EV2K
import PackagePlugin
struct BuiltArtifact
Represents a single artifact produced during a build.
struct PackageManager
Provides specialized information and services from the Swift Package Manager or an IDE that supports Swift Packages. Different plugin hosts implement the functionality in whatever way is appropriate for them, but should preserve the same semantics described here.
struct BuildResult
Represents the results of running a build.
case executable
case dynamicLibrary
case staticLibrary
var kind: Kind
The kind of artifact that was built.
var url: URL
Full path of the built artifact in the local file system.
var path: Path { get }
Full path of the built artifact in the local file system.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
init?(rawValue: String)
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)