init()

in Sources/PackageCollectionGenerator/PackageCollectionGenerate.swift [382:395]


    init(from: PackageModel.ProductType) {
        switch from {
        case .library(let libraryType):
            self = .library(.init(from: libraryType))
        case .executable:
            self = .executable
        case .plugin:
            self = .plugin
        case .snippet:
            self = .snippet
        case .test:
            self = .test
        }
    }