SwiftstructCryptexKit
struct CryptexKit.PkgTree
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolCryptexKit.XpcCodable
- protocolCryptexKit.XpcDictCodable
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 5
- func
static from(xpc: OS_xpc_object) throws -> CryptexKit.PkgTree - field
let entries: [CryptexKit.PkgTree.Entry]?+0x10 - field
let id: CryptexKit.PkgObjectId<CryptexKit.PkgTree>+0x0 - func
populate(xpcDict: inout OS_xpc_object) throws -> () - init
init(id: CryptexKit.PkgObjectId<CryptexKit.PkgTree>, entries: [CryptexKit.PkgTree.Entry]?) -> CryptexKit.PkgTree
Header
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 }