SwiftstructCryptexKit

struct CryptexKit.PkgTree

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 5

  1. funcstatic from(xpc: OS_xpc_object) throws -> CryptexKit.PkgTree
  2. fieldlet entries: [CryptexKit.PkgTree.Entry]?+0x10
  3. fieldlet id: CryptexKit.PkgObjectId<CryptexKit.PkgTree>+0x0
  4. funcpopulate(xpcDict: inout OS_xpc_object) throws -> ()
  5. initinit(id: CryptexKit.PkgObjectId<CryptexKit.PkgTree>, entries: [CryptexKit.PkgTree.Entry]?) -> CryptexKit.PkgTree
struct PkgTree {
    struct Link {
        enum CodingKeys {
            case name
            case target
        }
        enum XpcKeys {
            case name
            case target
        }
        let name: System.FilePath
        let target: System.FilePath

        init(name: System.FilePath, target: System.FilePath)

        var description: Swift.String {
            get
        }

        func populate(xpcDict: inout any __C.OS_xpc_object) throws
        func validate() throws(CryptexKit.PkgError)

        static func from(xpc: any __C.OS_xpc_object) throws -> CryptexKit.PkgTree.Link
    }
    enum Entry {
        enum CodingKeys {
            case type
        }
        enum EntryType {
            case package
            case symlink
        }
        enum XpcKeys {
            case type
            case value
        }
        case package(CryptexKit.PkgRef)
        case symlink(CryptexKit.PkgTree.Link)

        var description: Swift.String {
            get
        }

        func populate(xpcDict: inout any __C.OS_xpc_object) throws
        func validate() throws(CryptexKit.PkgError)

        static func from(xpc: any __C.OS_xpc_object) throws -> CryptexKit.PkgTree.Entry
    }
    struct Options {
        let rawValue: Swift.UInt

        static var entries: CryptexKit.PkgTree.Options {
            get
        }
        static var none: CryptexKit.PkgTree.Options {
            get
        }
    }
    struct Spec {
        enum CodingKeys {
            case entries
        }
        enum XpcKeys {
            case entries
        }
        let entries: [CryptexKit.PkgTree.Entry]

        init(entries: [CryptexKit.PkgTree.Entry])

        var count: Swift.Int {
            get
        }

        func populate(xpcDict: inout any __C.OS_xpc_object) throws
        func validate() throws(CryptexKit.PkgError)

        static func from(xpc: any __C.OS_xpc_object) throws -> CryptexKit.PkgTree.Spec
    }
    enum CodingKeys {
        case id
        case entries
    }
    enum XpcKeys {
        case id
        case entries
    }
    let id: CryptexKit.PkgObjectId<CryptexKit.PkgTree>
    let entries: [CryptexKit.PkgTree.Entry]?

    init(id: CryptexKit.PkgObjectId<CryptexKit.PkgTree>, entries: [CryptexKit.PkgTree.Entry]?)

    func populate(xpcDict: inout any __C.OS_xpc_object) throws

    static func from(xpc: any __C.OS_xpc_object) throws -> CryptexKit.PkgTree
}