SwiftstructDocumentManagerExecutables

struct DocumentManagerExecutables.LocationOptionsProvider

Structure

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

Members 12

  1. fieldlet defaultNamedLocation: DOCNamedLocation+0x8
  2. fieldlet source: DocumentManagerExecutables.FileEntitySpotlight.Source+0x0
  3. funcdefaultResult() async -> DocumentManagerExecutables.FINodeEntity?
  4. funcgetFileEntity(for: DOCNamedLocation) async -> DocumentManagerExecutables.FINodeEntity?
  5. funcgetItem(for: DOCNamedLocation) async -> FPItem?
  6. funcgetNode(for: DOCNamedLocation) async -> DOCNode?
  7. funcresults(for: String) async throws -> [DocumentManagerExecutables.FINodeEntity]
  8. funcresults() async throws -> [DocumentManagerExecutables.FINodeEntity]
  9. initinit(defaultLocation: DOCNamedLocation, supportedContentTypes: [UniformTypeIdentifiers.UTType], shouldExcludeTrashedItems: Bool) -> DocumentManagerExecutables.LocationOptionsProvider
  10. initinit() -> DocumentManagerExecutables.LocationOptionsProvider
  11. typealiastypealias DefaultValue = DocumentManagerExecutables.FINodeEntity
  12. typealiastypealias Result = Swift.Array<DocumentManagerExecutables.FINodeEntity>
struct LocationOptionsProvider {
    let source: DocumentManagerExecutables.FileEntitySpotlight.Source
    let defaultNamedLocation: __C.DOCNamedLocation

    init(defaultLocation: __C.DOCNamedLocation, supportedContentTypes: [UniformTypeIdentifiers.UTType], shouldExcludeTrashedItems: Swift.Bool)
    init()

    func defaultResult() async -> DocumentManagerExecutables.FINodeEntity?
    func getFileEntity(for: __C.DOCNamedLocation) async -> DocumentManagerExecutables.FINodeEntity?
    func getItem(for: __C.DOCNamedLocation) async -> __C.FPItem?
    func getNode(for: __C.DOCNamedLocation) async -> (any __C.DOCNode)?
    func results(for: Swift.String) async throws -> [DocumentManagerExecutables.FINodeEntity]
    func results() async throws -> [DocumentManagerExecutables.FINodeEntity]
}