Documentation
¶
Overview ¶
Package metadata provides a fluent Go API over the macOS Metadata framework.
Construction ¶
New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.
Lifecycle ¶
A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.
Index ¶
- func KMDAttributeAllValues() obj.Object
- func KMDAttributeDisplayValues() obj.Object
- func KMDAttributeMultiValued() obj.Object
- func KMDAttributeName() obj.Object
- func KMDAttributeReadOnlyValues() obj.Object
- func KMDAttributeType() obj.Object
- func KMDExporterAvaliable() obj.Object
- func KMDItemAcquisitionMake() obj.Object
- func KMDItemAcquisitionModel() obj.Object
- func KMDItemAlbum() obj.Object
- func KMDItemAltitude() obj.Object
- func KMDItemAperture() obj.Object
- func KMDItemAppleLoopDescriptors() obj.Object
- func KMDItemAppleLoopsKeyFilterType() obj.Object
- func KMDItemAppleLoopsLoopMode() obj.Object
- func KMDItemAppleLoopsRootKey() obj.Object
- func KMDItemApplicationCategories() obj.Object
- func KMDItemAttributeChangeDate() obj.Object
- func KMDItemAudiences() obj.Object
- func KMDItemAudioBitRate() obj.Object
- func KMDItemAudioChannelCount() obj.Object
- func KMDItemAudioEncodingApplication() obj.Object
- func KMDItemAudioSampleRate() obj.Object
- func KMDItemAudioTrackNumber() obj.Object
- func KMDItemAuthorAddresses() obj.Object
- func KMDItemAuthorEmailAddresses() obj.Object
- func KMDItemAuthors() obj.Object
- func KMDItemBitsPerSample() obj.Object
- func KMDItemCFBundleIdentifier() obj.Object
- func KMDItemCameraOwner() obj.Object
- func KMDItemCity() obj.Object
- func KMDItemCodecs() obj.Object
- func KMDItemColorSpace() obj.Object
- func KMDItemComment() obj.Object
- func KMDItemComposer() obj.Object
- func KMDItemContactKeywords() obj.Object
- func KMDItemContentCreationDate() obj.Object
- func KMDItemContentModificationDate() obj.Object
- func KMDItemContentType() obj.Object
- func KMDItemContentTypeTree() obj.Object
- func KMDItemContributors() obj.Object
- func KMDItemCopyright() obj.Object
- func KMDItemCountry() obj.Object
- func KMDItemCoverage() obj.Object
- func KMDItemCreator() obj.Object
- func KMDItemDateAdded() obj.Object
- func KMDItemDeliveryType() obj.Object
- func KMDItemDescription() obj.Object
- func KMDItemDirector() obj.Object
- func KMDItemDisplayName() obj.Object
- func KMDItemDownloadedDate() obj.Object
- func KMDItemDueDate() obj.Object
- func KMDItemDurationSeconds() obj.Object
- func KMDItemEXIFGPSVersion() obj.Object
- func KMDItemEXIFVersion() obj.Object
- func KMDItemEditors() obj.Object
- func KMDItemEmailAddresses() obj.Object
- func KMDItemEncodingApplications() obj.Object
- func KMDItemExecutableArchitectures() obj.Object
- func KMDItemExecutablePlatform() obj.Object
- func KMDItemExposureMode() obj.Object
- func KMDItemExposureProgram() obj.Object
- func KMDItemExposureTimeSeconds() obj.Object
- func KMDItemExposureTimeString() obj.Object
- func KMDItemFNumber() obj.Object
- func KMDItemFSContentChangeDate() obj.Object
- func KMDItemFSCreationDate() obj.Object
- func KMDItemFSExists() obj.Object
- func KMDItemFSHasCustomIcon() obj.Object
- func KMDItemFSInvisible() obj.Object
- func KMDItemFSIsExtensionHidden() obj.Object
- func KMDItemFSIsReadable() obj.Object
- func KMDItemFSIsStationery() obj.Object
- func KMDItemFSIsWriteable() obj.Object
- func KMDItemFSLabel() obj.Object
- func KMDItemFSName() obj.Object
- func KMDItemFSNodeCount() obj.Object
- func KMDItemFSOwnerGroupID() obj.Object
- func KMDItemFSOwnerUserID() obj.Object
- func KMDItemFSSize() obj.Object
- func KMDItemFinderComment() obj.Object
- func KMDItemFlashOnOff() obj.Object
- func KMDItemFocalLength() obj.Object
- func KMDItemFocalLength35mm() obj.Object
- func KMDItemFonts() obj.Object
- func KMDItemGPSAreaInformation() obj.Object
- func KMDItemGPSDOP() obj.Object
- func KMDItemGPSDateStamp() obj.Object
- func KMDItemGPSDestBearing() obj.Object
- func KMDItemGPSDestDistance() obj.Object
- func KMDItemGPSDestLatitude() obj.Object
- func KMDItemGPSDestLongitude() obj.Object
- func KMDItemGPSDifferental() obj.Object
- func KMDItemGPSMapDatum() obj.Object
- func KMDItemGPSMeasureMode() obj.Object
- func KMDItemGPSProcessingMethod() obj.Object
- func KMDItemGPSStatus() obj.Object
- func KMDItemGPSTrack() obj.Object
- func KMDItemGenre() obj.Object
- func KMDItemHTMLContent() obj.Object
- func KMDItemHasAlphaChannel() obj.Object
- func KMDItemHeadline() obj.Object
- func KMDItemISOSpeed() obj.Object
- func KMDItemIdentifier() obj.Object
- func KMDItemImageDirection() obj.Object
- func KMDItemInformation() obj.Object
- func KMDItemInstantMessageAddresses() obj.Object
- func KMDItemInstructions() obj.Object
- func KMDItemIsApplicationManaged() obj.Object
- func KMDItemIsGeneralMIDISequence() obj.Object
- func KMDItemIsLikelyJunk() obj.Object
- func KMDItemKeySignature() obj.Object
- func KMDItemKeywords() obj.Object
- func KMDItemKind() obj.Object
- func KMDItemLabelID() obj.Object
- func KMDItemLabelIcon() obj.Object
- func KMDItemLabelKind() obj.Object
- func KMDItemLabelUUID() obj.Object
- func KMDItemLanguages() obj.Object
- func KMDItemLastUsedDate() obj.Object
- func KMDItemLatitude() obj.Object
- func KMDItemLayerNames() obj.Object
- func KMDItemLensModel() obj.Object
- func KMDItemLongitude() obj.Object
- func KMDItemLyricist() obj.Object
- func KMDItemMaxAperture() obj.Object
- func KMDItemMediaExtensions() obj.Object
- func KMDItemMediaTypes() obj.Object
- func KMDItemMeteringMode() obj.Object
- func KMDItemMusicalGenre() obj.Object
- func KMDItemMusicalInstrumentCategory() obj.Object
- func KMDItemMusicalInstrumentName() obj.Object
- func KMDItemNamedLocation() obj.Object
- func KMDItemNumberOfPages() obj.Object
- func KMDItemOrganizations() obj.Object
- func KMDItemOrientation() obj.Object
- func KMDItemOriginalFormat() obj.Object
- func KMDItemOriginalSource() obj.Object
- func KMDItemPageHeight() obj.Object
- func KMDItemPageWidth() obj.Object
- func KMDItemParticipants() obj.Object
- func KMDItemPath() obj.Object
- func KMDItemPerformers() obj.Object
- func KMDItemPhoneNumbers() obj.Object
- func KMDItemPixelCount() obj.Object
- func KMDItemPixelHeight() obj.Object
- func KMDItemPixelWidth() obj.Object
- func KMDItemProducer() obj.Object
- func KMDItemProfileName() obj.Object
- func KMDItemProjects() obj.Object
- func KMDItemPublishers() obj.Object
- func KMDItemRecipientAddresses() obj.Object
- func KMDItemRecipientEmailAddresses() obj.Object
- func KMDItemRecipients() obj.Object
- func KMDItemRecordingDate() obj.Object
- func KMDItemRecordingYear() obj.Object
- func KMDItemRedEyeOnOff() obj.Object
- func KMDItemResolutionHeightDPI() obj.Object
- func KMDItemResolutionWidthDPI() obj.Object
- func KMDItemRights() obj.Object
- func KMDItemSecurityMethod() obj.Object
- func KMDItemSpeed() obj.Object
- func KMDItemStarRating() obj.Object
- func KMDItemStateOrProvince() obj.Object
- func KMDItemStreamable() obj.Object
- func KMDItemSubject() obj.Object
- func KMDItemSupportFileType() obj.Object
- func KMDItemTempo() obj.Object
- func KMDItemTextContent() obj.Object
- func KMDItemTheme() obj.Object
- func KMDItemTimeSignature() obj.Object
- func KMDItemTimestamp() obj.Object
- func KMDItemTitle() obj.Object
- func KMDItemTotalBitRate() obj.Object
- func KMDItemURL() obj.Object
- func KMDItemVersion() obj.Object
- func KMDItemVideoBitRate() obj.Object
- func KMDItemWhereFroms() obj.Object
- func KMDItemWhiteBalance() obj.Object
- func KMDItemXMPCredit() obj.Object
- func KMDItemXMPDigitalSourceType() obj.Object
- func KMDLabelAddedNotification() obj.Object
- func KMDLabelBundleURL() obj.Object
- func KMDLabelChangedNotification() obj.Object
- func KMDLabelContentChangeDate() obj.Object
- func KMDLabelDisplayName() obj.Object
- func KMDLabelIconData() obj.Object
- func KMDLabelIconUUID() obj.Object
- func KMDLabelIsMutuallyExclusiveSetMember() obj.Object
- func KMDLabelKind() obj.Object
- func KMDLabelKindIsMutuallyExclusiveSetKey() obj.Object
- func KMDLabelKindVisibilityKey() obj.Object
- func KMDLabelRemovedNotification() obj.Object
- func KMDLabelSetsFinderColor() obj.Object
- func KMDLabelUUID() obj.Object
- func KMDLabelVisibility() obj.Object
- func KMDPrivateVisibility() obj.Object
- func KMDPublicVisibility() obj.Object
- func KMDQueryDidFinishNotification() obj.Object
- func KMDQueryDidUpdateNotification() obj.Object
- func KMDQueryProgressNotification() obj.Object
- func KMDQueryResultContentRelevance() obj.Object
- func KMDQueryScopeAllIndexed() obj.Object
- func KMDQueryScopeComputer() obj.Object
- func KMDQueryScopeComputerIndexed() obj.Object
- func KMDQueryScopeHome() obj.Object
- func KMDQueryScopeNetwork() obj.Object
- func KMDQueryScopeNetworkIndexed() obj.Object
- func KMDQueryUpdateAddedItems() obj.Object
- func KMDQueryUpdateChangedItems() obj.Object
- func KMDQueryUpdateRemovedItems() obj.Object
- func MDCopyLabelKinds() corefoundation.CFArrayRef
- func MDCopyLabelsMatchingExpression(simpleQueryString corefoundation.CFStringRef) corefoundation.CFArrayRef
- func MDCopyLabelsWithKind(kind corefoundation.CFStringRef) corefoundation.CFArrayRef
- func MDItemCopyAttribute(item MDItemRef, name corefoundation.CFStringRef) obj.Object
- func MDItemCopyAttributeNames(item MDItemRef) corefoundation.CFArrayRef
- func MDItemCopyAttributes(item MDItemRef, names corefoundation.CFArrayRef) corefoundation.CFDictionaryRef
- func MDItemCopyLabels(item MDItemRef) corefoundation.CFArrayRef
- func MDItemGetCacheFileDescriptors(items corefoundation.CFArrayRef, completionHandler func(unsafe.Pointer))
- func MDItemGetTypeID() int
- func MDItemRemoveLabel(item MDItemRef, label MDLabelRef) uint8
- func MDItemSetLabel(item MDItemRef, label MDLabelRef) uint8
- func MDItemsCopyAttributes(items corefoundation.CFArrayRef, names corefoundation.CFArrayRef) corefoundation.CFArrayRef
- func MDItemsCreateWithURLs(allocator corefoundation.CFAllocatorRef, urls corefoundation.CFArrayRef) corefoundation.CFArrayRef
- func MDLabelCopyAttribute(label MDLabelRef, name corefoundation.CFStringRef) obj.Object
- func MDLabelCopyAttributeName(label MDLabelRef) corefoundation.CFStringRef
- func MDLabelDelete(label MDLabelRef) uint8
- func MDLabelGetTypeID() int
- func MDLabelSetAttributes(label MDLabelRef, attrs corefoundation.CFDictionaryRef) uint8
- func MDQueryCopyQueryString(query MDQueryRef) corefoundation.CFStringRef
- func MDQueryCopySortingAttributes(query MDQueryRef) corefoundation.CFArrayRef
- func MDQueryCopyValueListAttributes(query MDQueryRef) corefoundation.CFArrayRef
- func MDQueryCopyValuesOfAttribute(query MDQueryRef, name corefoundation.CFStringRef) corefoundation.CFArrayRef
- func MDQueryDisableUpdates(query MDQueryRef)
- func MDQueryEnableUpdates(query MDQueryRef)
- func MDQueryExecute(query MDQueryRef, optionFlags int) uint8
- func MDQueryGetAttributeValueOfResultAtIndex(query MDQueryRef, name corefoundation.CFStringRef, idx int) unsafe.Pointer
- func MDQueryGetCountOfResultsWithAttributeValue(query MDQueryRef, name corefoundation.CFStringRef, value obj.Object) int
- func MDQueryGetIndexOfResult(query MDQueryRef, result unsafe.Pointer) int
- func MDQueryGetResultAtIndex(query MDQueryRef, idx int) unsafe.Pointer
- func MDQueryGetResultCount(query MDQueryRef) int
- func MDQueryGetSortOptionFlagsForAttribute(query MDQueryRef, fieldName corefoundation.CFStringRef) uint32
- func MDQueryGetTypeID() int
- func MDQueryIsGatheringComplete(query MDQueryRef) uint8
- func MDQuerySetBatchingParameters(query MDQueryRef, params MDQueryBatchingParams)
- func MDQuerySetCreateResultFunction(query MDQueryRef, func_ unsafe.Pointer, context_ unsafe.Pointer, ...)
- func MDQuerySetCreateValueFunction(query MDQueryRef, func_ unsafe.Pointer, context_ unsafe.Pointer, ...)
- func MDQuerySetDispatchQueue(query MDQueryRef, queue dispatch.Queue)
- func MDQuerySetMaxCount(query MDQueryRef, size int)
- func MDQuerySetSearchScope(query MDQueryRef, scopeDirectories corefoundation.CFArrayRef, scopeOptions int)
- func MDQuerySetSortComparator(query MDQueryRef, comparator unsafe.Pointer, context_ unsafe.Pointer)
- func MDQuerySetSortComparatorBlock(query MDQueryRef, comparator func(unsafe.Pointer, unsafe.Pointer) int)
- func MDQuerySetSortOptionFlagsForAttribute(query MDQueryRef, fieldName corefoundation.CFStringRef, flags uint32) uint8
- func MDQuerySetSortOrder(query MDQueryRef, sortingAttrs corefoundation.CFArrayRef) uint8
- func MDQueryStop(query MDQueryRef)
- func MDSchemaCopyAllAttributes() corefoundation.CFArrayRef
- func MDSchemaCopyAttributesForContentType(contentTypeUTI corefoundation.CFStringRef) corefoundation.CFDictionaryRef
- func MDSchemaCopyDisplayDescriptionForAttribute(name corefoundation.CFStringRef) corefoundation.CFStringRef
- func MDSchemaCopyDisplayNameForAttribute(name corefoundation.CFStringRef) corefoundation.CFStringRef
- func MDSchemaCopyMetaAttributesForAttribute(name corefoundation.CFStringRef) corefoundation.CFDictionaryRef
- type Clockid
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EntryID
- type FilesecProperty
- type Flag
- type Idtype
- type MDItem
- type MDItemRef
- type MDLabel
- type MDLabelDomain
- type MDLabelRef
- type MDQuery
- type MDQueryBatchingParams
- type MDQueryOptionFlags
- type MDQueryRef
- type MDQuerySortOptionFlags
- type MpoFlags
- type OSClockid
- type Perm
- type PtrauthKey
- type QosClass
- type Tag
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KMDAttributeAllValues ¶
KMDAttributeAllValues returns the value of the constant kMDAttributeAllValues.
func KMDAttributeDisplayValues ¶
KMDAttributeDisplayValues returns the value of the constant kMDAttributeDisplayValues.
func KMDAttributeMultiValued ¶
KMDAttributeMultiValued returns the value of the constant kMDAttributeMultiValued.
func KMDAttributeName ¶
KMDAttributeName returns the value of the constant kMDAttributeName.
func KMDAttributeReadOnlyValues ¶
KMDAttributeReadOnlyValues returns the value of the constant kMDAttributeReadOnlyValues.
func KMDAttributeType ¶
KMDAttributeType returns the value of the constant kMDAttributeType.
func KMDExporterAvaliable ¶
KMDExporterAvaliable returns the value of the constant kMDExporterAvaliable.
func KMDItemAcquisitionMake ¶
KMDItemAcquisitionMake returns the value of the constant kMDItemAcquisitionMake.
func KMDItemAcquisitionModel ¶
KMDItemAcquisitionModel returns the value of the constant kMDItemAcquisitionModel.
func KMDItemAlbum ¶
KMDItemAlbum returns the value of the constant kMDItemAlbum.
func KMDItemAltitude ¶
KMDItemAltitude returns the value of the constant kMDItemAltitude.
func KMDItemAperture ¶
KMDItemAperture returns the value of the constant kMDItemAperture.
func KMDItemAppleLoopDescriptors ¶
KMDItemAppleLoopDescriptors returns the value of the constant kMDItemAppleLoopDescriptors.
func KMDItemAppleLoopsKeyFilterType ¶
KMDItemAppleLoopsKeyFilterType returns the value of the constant kMDItemAppleLoopsKeyFilterType.
func KMDItemAppleLoopsLoopMode ¶
KMDItemAppleLoopsLoopMode returns the value of the constant kMDItemAppleLoopsLoopMode.
func KMDItemAppleLoopsRootKey ¶
KMDItemAppleLoopsRootKey returns the value of the constant kMDItemAppleLoopsRootKey.
func KMDItemApplicationCategories ¶
KMDItemApplicationCategories returns the value of the constant kMDItemApplicationCategories.
func KMDItemAttributeChangeDate ¶
KMDItemAttributeChangeDate returns the value of the constant kMDItemAttributeChangeDate.
func KMDItemAudiences ¶
KMDItemAudiences returns the value of the constant kMDItemAudiences.
func KMDItemAudioBitRate ¶
KMDItemAudioBitRate returns the value of the constant kMDItemAudioBitRate.
func KMDItemAudioChannelCount ¶
KMDItemAudioChannelCount returns the value of the constant kMDItemAudioChannelCount.
func KMDItemAudioEncodingApplication ¶
KMDItemAudioEncodingApplication returns the value of the constant kMDItemAudioEncodingApplication.
func KMDItemAudioSampleRate ¶
KMDItemAudioSampleRate returns the value of the constant kMDItemAudioSampleRate.
func KMDItemAudioTrackNumber ¶
KMDItemAudioTrackNumber returns the value of the constant kMDItemAudioTrackNumber.
func KMDItemAuthorAddresses ¶
KMDItemAuthorAddresses returns the value of the constant kMDItemAuthorAddresses.
func KMDItemAuthorEmailAddresses ¶
KMDItemAuthorEmailAddresses returns the value of the constant kMDItemAuthorEmailAddresses.
func KMDItemAuthors ¶
KMDItemAuthors returns the value of the constant kMDItemAuthors.
func KMDItemBitsPerSample ¶
KMDItemBitsPerSample returns the value of the constant kMDItemBitsPerSample.
func KMDItemCFBundleIdentifier ¶
KMDItemCFBundleIdentifier returns the value of the constant kMDItemCFBundleIdentifier.
func KMDItemCameraOwner ¶
KMDItemCameraOwner returns the value of the constant kMDItemCameraOwner.
func KMDItemCity ¶
KMDItemCity returns the value of the constant kMDItemCity.
func KMDItemCodecs ¶
KMDItemCodecs returns the value of the constant kMDItemCodecs.
func KMDItemColorSpace ¶
KMDItemColorSpace returns the value of the constant kMDItemColorSpace.
func KMDItemComment ¶
KMDItemComment returns the value of the constant kMDItemComment.
func KMDItemComposer ¶
KMDItemComposer returns the value of the constant kMDItemComposer.
func KMDItemContactKeywords ¶
KMDItemContactKeywords returns the value of the constant kMDItemContactKeywords.
func KMDItemContentCreationDate ¶
KMDItemContentCreationDate returns the value of the constant kMDItemContentCreationDate.
func KMDItemContentModificationDate ¶
KMDItemContentModificationDate returns the value of the constant kMDItemContentModificationDate.
func KMDItemContentType ¶
KMDItemContentType returns the value of the constant kMDItemContentType.
func KMDItemContentTypeTree ¶
KMDItemContentTypeTree returns the value of the constant kMDItemContentTypeTree.
func KMDItemContributors ¶
KMDItemContributors returns the value of the constant kMDItemContributors.
func KMDItemCopyright ¶
KMDItemCopyright returns the value of the constant kMDItemCopyright.
func KMDItemCountry ¶
KMDItemCountry returns the value of the constant kMDItemCountry.
func KMDItemCoverage ¶
KMDItemCoverage returns the value of the constant kMDItemCoverage.
func KMDItemCreator ¶
KMDItemCreator returns the value of the constant kMDItemCreator.
func KMDItemDateAdded ¶
KMDItemDateAdded returns the value of the constant kMDItemDateAdded.
func KMDItemDeliveryType ¶
KMDItemDeliveryType returns the value of the constant kMDItemDeliveryType.
func KMDItemDescription ¶
KMDItemDescription returns the value of the constant kMDItemDescription.
func KMDItemDirector ¶
KMDItemDirector returns the value of the constant kMDItemDirector.
func KMDItemDisplayName ¶
KMDItemDisplayName returns the value of the constant kMDItemDisplayName.
func KMDItemDownloadedDate ¶
KMDItemDownloadedDate returns the value of the constant kMDItemDownloadedDate.
func KMDItemDueDate ¶
KMDItemDueDate returns the value of the constant kMDItemDueDate.
func KMDItemDurationSeconds ¶
KMDItemDurationSeconds returns the value of the constant kMDItemDurationSeconds.
func KMDItemEXIFGPSVersion ¶
KMDItemEXIFGPSVersion returns the value of the constant kMDItemEXIFGPSVersion.
func KMDItemEXIFVersion ¶
KMDItemEXIFVersion returns the value of the constant kMDItemEXIFVersion.
func KMDItemEditors ¶
KMDItemEditors returns the value of the constant kMDItemEditors.
func KMDItemEmailAddresses ¶
KMDItemEmailAddresses returns the value of the constant kMDItemEmailAddresses.
func KMDItemEncodingApplications ¶
KMDItemEncodingApplications returns the value of the constant kMDItemEncodingApplications.
func KMDItemExecutableArchitectures ¶
KMDItemExecutableArchitectures returns the value of the constant kMDItemExecutableArchitectures.
func KMDItemExecutablePlatform ¶
KMDItemExecutablePlatform returns the value of the constant kMDItemExecutablePlatform.
func KMDItemExposureMode ¶
KMDItemExposureMode returns the value of the constant kMDItemExposureMode.
func KMDItemExposureProgram ¶
KMDItemExposureProgram returns the value of the constant kMDItemExposureProgram.
func KMDItemExposureTimeSeconds ¶
KMDItemExposureTimeSeconds returns the value of the constant kMDItemExposureTimeSeconds.
func KMDItemExposureTimeString ¶
KMDItemExposureTimeString returns the value of the constant kMDItemExposureTimeString.
func KMDItemFNumber ¶
KMDItemFNumber returns the value of the constant kMDItemFNumber.
func KMDItemFSContentChangeDate ¶
KMDItemFSContentChangeDate returns the value of the constant kMDItemFSContentChangeDate.
func KMDItemFSCreationDate ¶
KMDItemFSCreationDate returns the value of the constant kMDItemFSCreationDate.
func KMDItemFSExists ¶
KMDItemFSExists returns the value of the constant kMDItemFSExists.
func KMDItemFSHasCustomIcon ¶
KMDItemFSHasCustomIcon returns the value of the constant kMDItemFSHasCustomIcon.
func KMDItemFSInvisible ¶
KMDItemFSInvisible returns the value of the constant kMDItemFSInvisible.
func KMDItemFSIsExtensionHidden ¶
KMDItemFSIsExtensionHidden returns the value of the constant kMDItemFSIsExtensionHidden.
func KMDItemFSIsReadable ¶
KMDItemFSIsReadable returns the value of the constant kMDItemFSIsReadable.
func KMDItemFSIsStationery ¶
KMDItemFSIsStationery returns the value of the constant kMDItemFSIsStationery.
func KMDItemFSIsWriteable ¶
KMDItemFSIsWriteable returns the value of the constant kMDItemFSIsWriteable.
func KMDItemFSLabel ¶
KMDItemFSLabel returns the value of the constant kMDItemFSLabel.
func KMDItemFSName ¶
KMDItemFSName returns the value of the constant kMDItemFSName.
func KMDItemFSNodeCount ¶
KMDItemFSNodeCount returns the value of the constant kMDItemFSNodeCount.
func KMDItemFSOwnerGroupID ¶
KMDItemFSOwnerGroupID returns the value of the constant kMDItemFSOwnerGroupID.
func KMDItemFSOwnerUserID ¶
KMDItemFSOwnerUserID returns the value of the constant kMDItemFSOwnerUserID.
func KMDItemFSSize ¶
KMDItemFSSize returns the value of the constant kMDItemFSSize.
func KMDItemFinderComment ¶
KMDItemFinderComment returns the value of the constant kMDItemFinderComment.
func KMDItemFlashOnOff ¶
KMDItemFlashOnOff returns the value of the constant kMDItemFlashOnOff.
func KMDItemFocalLength ¶
KMDItemFocalLength returns the value of the constant kMDItemFocalLength.
func KMDItemFocalLength35mm ¶
KMDItemFocalLength35mm returns the value of the constant kMDItemFocalLength35mm.
func KMDItemFonts ¶
KMDItemFonts returns the value of the constant kMDItemFonts.
func KMDItemGPSAreaInformation ¶
KMDItemGPSAreaInformation returns the value of the constant kMDItemGPSAreaInformation.
func KMDItemGPSDOP ¶
KMDItemGPSDOP returns the value of the constant kMDItemGPSDOP.
func KMDItemGPSDateStamp ¶
KMDItemGPSDateStamp returns the value of the constant kMDItemGPSDateStamp.
func KMDItemGPSDestBearing ¶
KMDItemGPSDestBearing returns the value of the constant kMDItemGPSDestBearing.
func KMDItemGPSDestDistance ¶
KMDItemGPSDestDistance returns the value of the constant kMDItemGPSDestDistance.
func KMDItemGPSDestLatitude ¶
KMDItemGPSDestLatitude returns the value of the constant kMDItemGPSDestLatitude.
func KMDItemGPSDestLongitude ¶
KMDItemGPSDestLongitude returns the value of the constant kMDItemGPSDestLongitude.
func KMDItemGPSDifferental ¶
KMDItemGPSDifferental returns the value of the constant kMDItemGPSDifferental.
func KMDItemGPSMapDatum ¶
KMDItemGPSMapDatum returns the value of the constant kMDItemGPSMapDatum.
func KMDItemGPSMeasureMode ¶
KMDItemGPSMeasureMode returns the value of the constant kMDItemGPSMeasureMode.
func KMDItemGPSProcessingMethod ¶
KMDItemGPSProcessingMethod returns the value of the constant kMDItemGPSProcessingMethod.
func KMDItemGPSStatus ¶
KMDItemGPSStatus returns the value of the constant kMDItemGPSStatus.
func KMDItemGPSTrack ¶
KMDItemGPSTrack returns the value of the constant kMDItemGPSTrack.
func KMDItemGenre ¶
KMDItemGenre returns the value of the constant kMDItemGenre.
func KMDItemHTMLContent ¶
KMDItemHTMLContent returns the value of the constant kMDItemHTMLContent.
func KMDItemHasAlphaChannel ¶
KMDItemHasAlphaChannel returns the value of the constant kMDItemHasAlphaChannel.
func KMDItemHeadline ¶
KMDItemHeadline returns the value of the constant kMDItemHeadline.
func KMDItemISOSpeed ¶
KMDItemISOSpeed returns the value of the constant kMDItemISOSpeed.
func KMDItemIdentifier ¶
KMDItemIdentifier returns the value of the constant kMDItemIdentifier.
func KMDItemImageDirection ¶
KMDItemImageDirection returns the value of the constant kMDItemImageDirection.
func KMDItemInformation ¶
KMDItemInformation returns the value of the constant kMDItemInformation.
func KMDItemInstantMessageAddresses ¶
KMDItemInstantMessageAddresses returns the value of the constant kMDItemInstantMessageAddresses.
func KMDItemInstructions ¶
KMDItemInstructions returns the value of the constant kMDItemInstructions.
func KMDItemIsApplicationManaged ¶
KMDItemIsApplicationManaged returns the value of the constant kMDItemIsApplicationManaged.
func KMDItemIsGeneralMIDISequence ¶
KMDItemIsGeneralMIDISequence returns the value of the constant kMDItemIsGeneralMIDISequence.
func KMDItemIsLikelyJunk ¶
KMDItemIsLikelyJunk returns the value of the constant kMDItemIsLikelyJunk.
func KMDItemKeySignature ¶
KMDItemKeySignature returns the value of the constant kMDItemKeySignature.
func KMDItemKeywords ¶
KMDItemKeywords returns the value of the constant kMDItemKeywords.
func KMDItemKind ¶
KMDItemKind returns the value of the constant kMDItemKind.
func KMDItemLabelID ¶
KMDItemLabelID returns the value of the constant kMDItemLabelID.
func KMDItemLabelIcon ¶
KMDItemLabelIcon returns the value of the constant kMDItemLabelIcon.
func KMDItemLabelKind ¶
KMDItemLabelKind returns the value of the constant kMDItemLabelKind.
func KMDItemLabelUUID ¶
KMDItemLabelUUID returns the value of the constant kMDItemLabelUUID.
func KMDItemLanguages ¶
KMDItemLanguages returns the value of the constant kMDItemLanguages.
func KMDItemLastUsedDate ¶
KMDItemLastUsedDate returns the value of the constant kMDItemLastUsedDate.
func KMDItemLatitude ¶
KMDItemLatitude returns the value of the constant kMDItemLatitude.
func KMDItemLayerNames ¶
KMDItemLayerNames returns the value of the constant kMDItemLayerNames.
func KMDItemLensModel ¶
KMDItemLensModel returns the value of the constant kMDItemLensModel.
func KMDItemLongitude ¶
KMDItemLongitude returns the value of the constant kMDItemLongitude.
func KMDItemLyricist ¶
KMDItemLyricist returns the value of the constant kMDItemLyricist.
func KMDItemMaxAperture ¶
KMDItemMaxAperture returns the value of the constant kMDItemMaxAperture.
func KMDItemMediaExtensions ¶
KMDItemMediaExtensions returns the value of the constant kMDItemMediaExtensions.
func KMDItemMediaTypes ¶
KMDItemMediaTypes returns the value of the constant kMDItemMediaTypes.
func KMDItemMeteringMode ¶
KMDItemMeteringMode returns the value of the constant kMDItemMeteringMode.
func KMDItemMusicalGenre ¶
KMDItemMusicalGenre returns the value of the constant kMDItemMusicalGenre.
func KMDItemMusicalInstrumentCategory ¶
KMDItemMusicalInstrumentCategory returns the value of the constant kMDItemMusicalInstrumentCategory.
func KMDItemMusicalInstrumentName ¶
KMDItemMusicalInstrumentName returns the value of the constant kMDItemMusicalInstrumentName.
func KMDItemNamedLocation ¶
KMDItemNamedLocation returns the value of the constant kMDItemNamedLocation.
func KMDItemNumberOfPages ¶
KMDItemNumberOfPages returns the value of the constant kMDItemNumberOfPages.
func KMDItemOrganizations ¶
KMDItemOrganizations returns the value of the constant kMDItemOrganizations.
func KMDItemOrientation ¶
KMDItemOrientation returns the value of the constant kMDItemOrientation.
func KMDItemOriginalFormat ¶
KMDItemOriginalFormat returns the value of the constant kMDItemOriginalFormat.
func KMDItemOriginalSource ¶
KMDItemOriginalSource returns the value of the constant kMDItemOriginalSource.
func KMDItemPageHeight ¶
KMDItemPageHeight returns the value of the constant kMDItemPageHeight.
func KMDItemPageWidth ¶
KMDItemPageWidth returns the value of the constant kMDItemPageWidth.
func KMDItemParticipants ¶
KMDItemParticipants returns the value of the constant kMDItemParticipants.
func KMDItemPath ¶
KMDItemPath returns the value of the constant kMDItemPath.
func KMDItemPerformers ¶
KMDItemPerformers returns the value of the constant kMDItemPerformers.
func KMDItemPhoneNumbers ¶
KMDItemPhoneNumbers returns the value of the constant kMDItemPhoneNumbers.
func KMDItemPixelCount ¶
KMDItemPixelCount returns the value of the constant kMDItemPixelCount.
func KMDItemPixelHeight ¶
KMDItemPixelHeight returns the value of the constant kMDItemPixelHeight.
func KMDItemPixelWidth ¶
KMDItemPixelWidth returns the value of the constant kMDItemPixelWidth.
func KMDItemProducer ¶
KMDItemProducer returns the value of the constant kMDItemProducer.
func KMDItemProfileName ¶
KMDItemProfileName returns the value of the constant kMDItemProfileName.
func KMDItemProjects ¶
KMDItemProjects returns the value of the constant kMDItemProjects.
func KMDItemPublishers ¶
KMDItemPublishers returns the value of the constant kMDItemPublishers.
func KMDItemRecipientAddresses ¶
KMDItemRecipientAddresses returns the value of the constant kMDItemRecipientAddresses.
func KMDItemRecipientEmailAddresses ¶
KMDItemRecipientEmailAddresses returns the value of the constant kMDItemRecipientEmailAddresses.
func KMDItemRecipients ¶
KMDItemRecipients returns the value of the constant kMDItemRecipients.
func KMDItemRecordingDate ¶
KMDItemRecordingDate returns the value of the constant kMDItemRecordingDate.
func KMDItemRecordingYear ¶
KMDItemRecordingYear returns the value of the constant kMDItemRecordingYear.
func KMDItemRedEyeOnOff ¶
KMDItemRedEyeOnOff returns the value of the constant kMDItemRedEyeOnOff.
func KMDItemResolutionHeightDPI ¶
KMDItemResolutionHeightDPI returns the value of the constant kMDItemResolutionHeightDPI.
func KMDItemResolutionWidthDPI ¶
KMDItemResolutionWidthDPI returns the value of the constant kMDItemResolutionWidthDPI.
func KMDItemRights ¶
KMDItemRights returns the value of the constant kMDItemRights.
func KMDItemSecurityMethod ¶
KMDItemSecurityMethod returns the value of the constant kMDItemSecurityMethod.
func KMDItemSpeed ¶
KMDItemSpeed returns the value of the constant kMDItemSpeed.
func KMDItemStarRating ¶
KMDItemStarRating returns the value of the constant kMDItemStarRating.
func KMDItemStateOrProvince ¶
KMDItemStateOrProvince returns the value of the constant kMDItemStateOrProvince.
func KMDItemStreamable ¶
KMDItemStreamable returns the value of the constant kMDItemStreamable.
func KMDItemSubject ¶
KMDItemSubject returns the value of the constant kMDItemSubject.
func KMDItemSupportFileType ¶
KMDItemSupportFileType returns the value of the constant kMDItemSupportFileType.
func KMDItemTempo ¶
KMDItemTempo returns the value of the constant kMDItemTempo.
func KMDItemTextContent ¶
KMDItemTextContent returns the value of the constant kMDItemTextContent.
func KMDItemTheme ¶
KMDItemTheme returns the value of the constant kMDItemTheme.
func KMDItemTimeSignature ¶
KMDItemTimeSignature returns the value of the constant kMDItemTimeSignature.
func KMDItemTimestamp ¶
KMDItemTimestamp returns the value of the constant kMDItemTimestamp.
func KMDItemTitle ¶
KMDItemTitle returns the value of the constant kMDItemTitle.
func KMDItemTotalBitRate ¶
KMDItemTotalBitRate returns the value of the constant kMDItemTotalBitRate.
func KMDItemURL ¶
KMDItemURL returns the value of the constant kMDItemURL.
func KMDItemVersion ¶
KMDItemVersion returns the value of the constant kMDItemVersion.
func KMDItemVideoBitRate ¶
KMDItemVideoBitRate returns the value of the constant kMDItemVideoBitRate.
func KMDItemWhereFroms ¶
KMDItemWhereFroms returns the value of the constant kMDItemWhereFroms.
func KMDItemWhiteBalance ¶
KMDItemWhiteBalance returns the value of the constant kMDItemWhiteBalance.
func KMDItemXMPCredit ¶
KMDItemXMPCredit returns the value of the constant kMDItemXMPCredit.
func KMDItemXMPDigitalSourceType ¶
KMDItemXMPDigitalSourceType returns the value of the constant kMDItemXMPDigitalSourceType.
func KMDLabelAddedNotification ¶
KMDLabelAddedNotification returns the value of the constant kMDLabelAddedNotification.
func KMDLabelBundleURL ¶
KMDLabelBundleURL returns the value of the constant kMDLabelBundleURL.
func KMDLabelChangedNotification ¶
KMDLabelChangedNotification returns the value of the constant kMDLabelChangedNotification.
func KMDLabelContentChangeDate ¶
KMDLabelContentChangeDate returns the value of the constant kMDLabelContentChangeDate.
func KMDLabelDisplayName ¶
KMDLabelDisplayName returns the value of the constant kMDLabelDisplayName.
func KMDLabelIconData ¶
KMDLabelIconData returns the value of the constant kMDLabelIconData.
func KMDLabelIconUUID ¶
KMDLabelIconUUID returns the value of the constant kMDLabelIconUUID.
func KMDLabelIsMutuallyExclusiveSetMember ¶
KMDLabelIsMutuallyExclusiveSetMember returns the value of the constant kMDLabelIsMutuallyExclusiveSetMember.
func KMDLabelKind ¶
KMDLabelKind returns the value of the constant kMDLabelKind.
func KMDLabelKindIsMutuallyExclusiveSetKey ¶
KMDLabelKindIsMutuallyExclusiveSetKey returns the value of the constant kMDLabelKindIsMutuallyExclusiveSetKey.
func KMDLabelKindVisibilityKey ¶
KMDLabelKindVisibilityKey returns the value of the constant kMDLabelKindVisibilityKey.
func KMDLabelRemovedNotification ¶
KMDLabelRemovedNotification returns the value of the constant kMDLabelRemovedNotification.
func KMDLabelSetsFinderColor ¶
KMDLabelSetsFinderColor returns the value of the constant kMDLabelSetsFinderColor.
func KMDLabelUUID ¶
KMDLabelUUID returns the value of the constant kMDLabelUUID.
func KMDLabelVisibility ¶
KMDLabelVisibility returns the value of the constant kMDLabelVisibility.
func KMDPrivateVisibility ¶
KMDPrivateVisibility returns the value of the constant kMDPrivateVisibility.
func KMDPublicVisibility ¶
KMDPublicVisibility returns the value of the constant kMDPublicVisibility.
func KMDQueryDidFinishNotification ¶
KMDQueryDidFinishNotification returns the value of the constant kMDQueryDidFinishNotification.
func KMDQueryDidUpdateNotification ¶
KMDQueryDidUpdateNotification returns the value of the constant kMDQueryDidUpdateNotification.
func KMDQueryProgressNotification ¶
KMDQueryProgressNotification returns the value of the constant kMDQueryProgressNotification.
func KMDQueryResultContentRelevance ¶
KMDQueryResultContentRelevance returns the value of the constant kMDQueryResultContentRelevance.
func KMDQueryScopeAllIndexed ¶
KMDQueryScopeAllIndexed returns the value of the constant kMDQueryScopeAllIndexed.
func KMDQueryScopeComputer ¶
KMDQueryScopeComputer returns the value of the constant kMDQueryScopeComputer.
func KMDQueryScopeComputerIndexed ¶
KMDQueryScopeComputerIndexed returns the value of the constant kMDQueryScopeComputerIndexed.
func KMDQueryScopeHome ¶
KMDQueryScopeHome returns the value of the constant kMDQueryScopeHome.
func KMDQueryScopeNetwork ¶
KMDQueryScopeNetwork returns the value of the constant kMDQueryScopeNetwork.
func KMDQueryScopeNetworkIndexed ¶
KMDQueryScopeNetworkIndexed returns the value of the constant kMDQueryScopeNetworkIndexed.
func KMDQueryUpdateAddedItems ¶
KMDQueryUpdateAddedItems returns the value of the constant kMDQueryUpdateAddedItems.
func KMDQueryUpdateChangedItems ¶
KMDQueryUpdateChangedItems returns the value of the constant kMDQueryUpdateChangedItems.
func KMDQueryUpdateRemovedItems ¶
KMDQueryUpdateRemovedItems returns the value of the constant kMDQueryUpdateRemovedItems.
func MDCopyLabelKinds ¶
func MDCopyLabelKinds() corefoundation.CFArrayRef
MDCopyLabelKinds calls the Metadata framework function MDCopyLabelKinds.
func MDCopyLabelsMatchingExpression ¶
func MDCopyLabelsMatchingExpression(simpleQueryString corefoundation.CFStringRef) corefoundation.CFArrayRef
MDCopyLabelsMatchingExpression calls the Metadata framework function MDCopyLabelsMatchingExpression.
func MDCopyLabelsWithKind ¶
func MDCopyLabelsWithKind(kind corefoundation.CFStringRef) corefoundation.CFArrayRef
MDCopyLabelsWithKind calls the Metadata framework function MDCopyLabelsWithKind.
func MDItemCopyAttribute ¶
func MDItemCopyAttribute(item MDItemRef, name corefoundation.CFStringRef) obj.Object
MDItemCopyAttribute calls the Metadata framework function MDItemCopyAttribute.
func MDItemCopyAttributeNames ¶
func MDItemCopyAttributeNames(item MDItemRef) corefoundation.CFArrayRef
MDItemCopyAttributeNames calls the Metadata framework function MDItemCopyAttributeNames.
func MDItemCopyAttributes ¶
func MDItemCopyAttributes(item MDItemRef, names corefoundation.CFArrayRef) corefoundation.CFDictionaryRef
MDItemCopyAttributes calls the Metadata framework function MDItemCopyAttributes.
func MDItemCopyLabels ¶
func MDItemCopyLabels(item MDItemRef) corefoundation.CFArrayRef
MDItemCopyLabels calls the Metadata framework function MDItemCopyLabels.
func MDItemGetCacheFileDescriptors ¶
func MDItemGetCacheFileDescriptors(items corefoundation.CFArrayRef, completionHandler func(unsafe.Pointer))
MDItemGetCacheFileDescriptors calls the Metadata framework function MDItemGetCacheFileDescriptors.
func MDItemGetTypeID ¶
func MDItemGetTypeID() int
MDItemGetTypeID calls the Metadata framework function MDItemGetTypeID.
func MDItemRemoveLabel ¶
func MDItemRemoveLabel(item MDItemRef, label MDLabelRef) uint8
MDItemRemoveLabel calls the Metadata framework function MDItemRemoveLabel.
func MDItemSetLabel ¶
func MDItemSetLabel(item MDItemRef, label MDLabelRef) uint8
MDItemSetLabel calls the Metadata framework function MDItemSetLabel.
func MDItemsCopyAttributes ¶
func MDItemsCopyAttributes(items corefoundation.CFArrayRef, names corefoundation.CFArrayRef) corefoundation.CFArrayRef
MDItemsCopyAttributes calls the Metadata framework function MDItemsCopyAttributes.
func MDItemsCreateWithURLs ¶
func MDItemsCreateWithURLs(allocator corefoundation.CFAllocatorRef, urls corefoundation.CFArrayRef) corefoundation.CFArrayRef
MDItemsCreateWithURLs calls the Metadata framework function MDItemsCreateWithURLs.
func MDLabelCopyAttribute ¶
func MDLabelCopyAttribute(label MDLabelRef, name corefoundation.CFStringRef) obj.Object
MDLabelCopyAttribute calls the Metadata framework function MDLabelCopyAttribute.
func MDLabelCopyAttributeName ¶
func MDLabelCopyAttributeName(label MDLabelRef) corefoundation.CFStringRef
MDLabelCopyAttributeName calls the Metadata framework function MDLabelCopyAttributeName.
func MDLabelDelete ¶
func MDLabelDelete(label MDLabelRef) uint8
MDLabelDelete calls the Metadata framework function MDLabelDelete.
func MDLabelGetTypeID ¶
func MDLabelGetTypeID() int
MDLabelGetTypeID calls the Metadata framework function MDLabelGetTypeID.
func MDLabelSetAttributes ¶
func MDLabelSetAttributes(label MDLabelRef, attrs corefoundation.CFDictionaryRef) uint8
MDLabelSetAttributes calls the Metadata framework function MDLabelSetAttributes.
func MDQueryCopyQueryString ¶
func MDQueryCopyQueryString(query MDQueryRef) corefoundation.CFStringRef
MDQueryCopyQueryString calls the Metadata framework function MDQueryCopyQueryString.
func MDQueryCopySortingAttributes ¶
func MDQueryCopySortingAttributes(query MDQueryRef) corefoundation.CFArrayRef
MDQueryCopySortingAttributes calls the Metadata framework function MDQueryCopySortingAttributes.
func MDQueryCopyValueListAttributes ¶
func MDQueryCopyValueListAttributes(query MDQueryRef) corefoundation.CFArrayRef
MDQueryCopyValueListAttributes calls the Metadata framework function MDQueryCopyValueListAttributes.
func MDQueryCopyValuesOfAttribute ¶
func MDQueryCopyValuesOfAttribute(query MDQueryRef, name corefoundation.CFStringRef) corefoundation.CFArrayRef
MDQueryCopyValuesOfAttribute calls the Metadata framework function MDQueryCopyValuesOfAttribute.
func MDQueryDisableUpdates ¶
func MDQueryDisableUpdates(query MDQueryRef)
MDQueryDisableUpdates calls the Metadata framework function MDQueryDisableUpdates.
func MDQueryEnableUpdates ¶
func MDQueryEnableUpdates(query MDQueryRef)
MDQueryEnableUpdates calls the Metadata framework function MDQueryEnableUpdates.
func MDQueryExecute ¶
func MDQueryExecute(query MDQueryRef, optionFlags int) uint8
MDQueryExecute calls the Metadata framework function MDQueryExecute.
func MDQueryGetAttributeValueOfResultAtIndex ¶
func MDQueryGetAttributeValueOfResultAtIndex(query MDQueryRef, name corefoundation.CFStringRef, idx int) unsafe.Pointer
MDQueryGetAttributeValueOfResultAtIndex calls the Metadata framework function MDQueryGetAttributeValueOfResultAtIndex.
func MDQueryGetCountOfResultsWithAttributeValue ¶
func MDQueryGetCountOfResultsWithAttributeValue(query MDQueryRef, name corefoundation.CFStringRef, value obj.Object) int
MDQueryGetCountOfResultsWithAttributeValue calls the Metadata framework function MDQueryGetCountOfResultsWithAttributeValue.
func MDQueryGetIndexOfResult ¶
func MDQueryGetIndexOfResult(query MDQueryRef, result unsafe.Pointer) int
MDQueryGetIndexOfResult calls the Metadata framework function MDQueryGetIndexOfResult.
func MDQueryGetResultAtIndex ¶
func MDQueryGetResultAtIndex(query MDQueryRef, idx int) unsafe.Pointer
MDQueryGetResultAtIndex calls the Metadata framework function MDQueryGetResultAtIndex.
func MDQueryGetResultCount ¶
func MDQueryGetResultCount(query MDQueryRef) int
MDQueryGetResultCount calls the Metadata framework function MDQueryGetResultCount.
func MDQueryGetSortOptionFlagsForAttribute ¶
func MDQueryGetSortOptionFlagsForAttribute(query MDQueryRef, fieldName corefoundation.CFStringRef) uint32
MDQueryGetSortOptionFlagsForAttribute calls the Metadata framework function MDQueryGetSortOptionFlagsForAttribute.
func MDQueryGetTypeID ¶
func MDQueryGetTypeID() int
MDQueryGetTypeID calls the Metadata framework function MDQueryGetTypeID.
func MDQueryIsGatheringComplete ¶
func MDQueryIsGatheringComplete(query MDQueryRef) uint8
MDQueryIsGatheringComplete calls the Metadata framework function MDQueryIsGatheringComplete.
func MDQuerySetBatchingParameters ¶
func MDQuerySetBatchingParameters(query MDQueryRef, params MDQueryBatchingParams)
MDQuerySetBatchingParameters calls the Metadata framework function MDQuerySetBatchingParameters.
func MDQuerySetCreateResultFunction ¶
func MDQuerySetCreateResultFunction(query MDQueryRef, func_ unsafe.Pointer, context_ unsafe.Pointer, cb unsafe.Pointer)
MDQuerySetCreateResultFunction calls the Metadata framework function MDQuerySetCreateResultFunction.
func MDQuerySetCreateValueFunction ¶
func MDQuerySetCreateValueFunction(query MDQueryRef, func_ unsafe.Pointer, context_ unsafe.Pointer, cb unsafe.Pointer)
MDQuerySetCreateValueFunction calls the Metadata framework function MDQuerySetCreateValueFunction.
func MDQuerySetDispatchQueue ¶
func MDQuerySetDispatchQueue(query MDQueryRef, queue dispatch.Queue)
MDQuerySetDispatchQueue calls the Metadata framework function MDQuerySetDispatchQueue.
func MDQuerySetMaxCount ¶
func MDQuerySetMaxCount(query MDQueryRef, size int)
MDQuerySetMaxCount calls the Metadata framework function MDQuerySetMaxCount.
func MDQuerySetSearchScope ¶
func MDQuerySetSearchScope(query MDQueryRef, scopeDirectories corefoundation.CFArrayRef, scopeOptions int)
MDQuerySetSearchScope calls the Metadata framework function MDQuerySetSearchScope.
func MDQuerySetSortComparator ¶
func MDQuerySetSortComparator(query MDQueryRef, comparator unsafe.Pointer, context_ unsafe.Pointer)
MDQuerySetSortComparator calls the Metadata framework function MDQuerySetSortComparator.
func MDQuerySetSortComparatorBlock ¶
func MDQuerySetSortComparatorBlock(query MDQueryRef, comparator func(unsafe.Pointer, unsafe.Pointer) int)
MDQuerySetSortComparatorBlock calls the Metadata framework function MDQuerySetSortComparatorBlock.
func MDQuerySetSortOptionFlagsForAttribute ¶
func MDQuerySetSortOptionFlagsForAttribute(query MDQueryRef, fieldName corefoundation.CFStringRef, flags uint32) uint8
MDQuerySetSortOptionFlagsForAttribute calls the Metadata framework function MDQuerySetSortOptionFlagsForAttribute.
func MDQuerySetSortOrder ¶
func MDQuerySetSortOrder(query MDQueryRef, sortingAttrs corefoundation.CFArrayRef) uint8
MDQuerySetSortOrder calls the Metadata framework function MDQuerySetSortOrder.
func MDQueryStop ¶
func MDQueryStop(query MDQueryRef)
MDQueryStop calls the Metadata framework function MDQueryStop.
func MDSchemaCopyAllAttributes ¶
func MDSchemaCopyAllAttributes() corefoundation.CFArrayRef
MDSchemaCopyAllAttributes calls the Metadata framework function MDSchemaCopyAllAttributes.
func MDSchemaCopyAttributesForContentType ¶
func MDSchemaCopyAttributesForContentType(contentTypeUTI corefoundation.CFStringRef) corefoundation.CFDictionaryRef
MDSchemaCopyAttributesForContentType calls the Metadata framework function MDSchemaCopyAttributesForContentType.
func MDSchemaCopyDisplayDescriptionForAttribute ¶
func MDSchemaCopyDisplayDescriptionForAttribute(name corefoundation.CFStringRef) corefoundation.CFStringRef
MDSchemaCopyDisplayDescriptionForAttribute calls the Metadata framework function MDSchemaCopyDisplayDescriptionForAttribute.
func MDSchemaCopyDisplayNameForAttribute ¶
func MDSchemaCopyDisplayNameForAttribute(name corefoundation.CFStringRef) corefoundation.CFStringRef
MDSchemaCopyDisplayNameForAttribute calls the Metadata framework function MDSchemaCopyDisplayNameForAttribute.
func MDSchemaCopyMetaAttributesForAttribute ¶
func MDSchemaCopyMetaAttributesForAttribute(name corefoundation.CFStringRef) corefoundation.CFDictionaryRef
MDSchemaCopyMetaAttributesForAttribute calls the Metadata framework function MDSchemaCopyMetaAttributesForAttribute.
Types ¶
type DispatchAutoreleaseFrequency ¶ added in v0.17.0
type DispatchAutoreleaseFrequency uint64
const ( DispatchAutoreleaseFrequencyInherit DispatchAutoreleaseFrequency = 0 DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1 DispatchAutoreleaseFrequencyNever DispatchAutoreleaseFrequency = 2 )
func (DispatchAutoreleaseFrequency) String ¶ added in v0.17.0
func (e DispatchAutoreleaseFrequency) String() string
String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.
type DispatchBlockFlags ¶ added in v0.17.0
type DispatchBlockFlags uint64
Bitmask — values may be combined with |.
const ( DispatchBlockFlagsBarrier DispatchBlockFlags = 1 DispatchBlockFlagsDetached DispatchBlockFlags = 2 DispatchBlockFlagsAssignCurrent DispatchBlockFlags = 4 DispatchBlockFlagsNoQosClass DispatchBlockFlags = 8 DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16 DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32 )
func (DispatchBlockFlags) String ¶ added in v0.17.0
func (e DispatchBlockFlags) String() string
String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.
type FilesecProperty ¶ added in v0.17.0
type FilesecProperty int32
const ( FilesecPropertyOwner FilesecProperty = 1 FilesecPropertyGroup FilesecProperty = 2 FilesecPropertyUUID FilesecProperty = 3 FilesecPropertyMode FilesecProperty = 4 FilesecPropertyACL FilesecProperty = 5 FilesecPropertyGrpuuid FilesecProperty = 6 FilesecPropertyACLRaw FilesecProperty = 100 FilesecPropertyACLAllocsize FilesecProperty = 101 )
func (FilesecProperty) String ¶ added in v0.17.0
func (e FilesecProperty) String() string
String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.
type MDItemRef ¶ added in v0.18.0
MDItemRef is a handle for the opaque MDItemRef type.
func MDItemCreate ¶
func MDItemCreate(allocator corefoundation.CFAllocatorRef, path corefoundation.CFStringRef) MDItemRef
MDItemCreate calls the Metadata framework function MDItemCreate.
func MDItemCreateWithURL ¶
func MDItemCreateWithURL(allocator corefoundation.CFAllocatorRef, url corefoundation.CFURLRef) MDItemRef
MDItemCreateWithURL calls the Metadata framework function MDItemCreateWithURL.
type MDLabelDomain ¶
type MDLabelDomain int32
These constants are used to specify a domain to MDLabelCreate().
const ( KMDLabelUserDomain MDLabelDomain = 0 KMDLabelLocalDomain MDLabelDomain = 1 )
func (MDLabelDomain) String ¶
func (e MDLabelDomain) String() string
String returns the MDLabelDomain constant's name, or its numeric form when the value is not a known constant.
type MDLabelRef ¶ added in v0.18.0
MDLabelRef is a handle for the opaque MDLabelRef type.
func MDCopyLabelWithUUID ¶
func MDCopyLabelWithUUID(labelUUID corefoundation.CFUUIDRef) MDLabelRef
MDCopyLabelWithUUID calls the Metadata framework function MDCopyLabelWithUUID.
func MDLabelCreate ¶
func MDLabelCreate(allocator corefoundation.CFAllocatorRef, displayName corefoundation.CFStringRef, kind corefoundation.CFStringRef, domain unsafe.Pointer) MDLabelRef
MDLabelCreate calls the Metadata framework function MDLabelCreate.
func (MDLabelRef) IsNil ¶ added in v0.18.0
func (h MDLabelRef) IsNil() bool
IsNil reports whether MDLabelRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type MDQueryBatchingParams ¶
type MDQueryBatchingParams struct {
FirstMaxNum uint
FirstMaxMs uint
ProgressMaxNum uint
ProgressMaxMs uint
UpdateMaxNum uint
UpdateMaxMs uint
}
func MDQueryGetBatchingParameters ¶
func MDQueryGetBatchingParameters(query MDQueryRef) MDQueryBatchingParams
MDQueryGetBatchingParameters calls the Metadata framework function MDQueryGetBatchingParameters.
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int32
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
String returns the MDQueryOptionFlags constant's name, or its numeric form when the value is not a known constant.
type MDQueryRef ¶ added in v0.18.0
MDQueryRef is a handle for the opaque MDQueryRef type.
func MDQueryCreate ¶
func MDQueryCreate(allocator corefoundation.CFAllocatorRef, queryString corefoundation.CFStringRef, valueListAttrs corefoundation.CFArrayRef, sortingAttrs corefoundation.CFArrayRef) MDQueryRef
MDQueryCreate calls the Metadata framework function MDQueryCreate.
func MDQueryCreateForItems ¶
func MDQueryCreateForItems(allocator corefoundation.CFAllocatorRef, queryString corefoundation.CFStringRef, valueListAttrs corefoundation.CFArrayRef, sortingAttrs corefoundation.CFArrayRef, items corefoundation.CFArrayRef) MDQueryRef
MDQueryCreateForItems calls the Metadata framework function MDQueryCreateForItems.
func MDQueryCreateSubset ¶
func MDQueryCreateSubset(allocator corefoundation.CFAllocatorRef, query MDQueryRef, queryString corefoundation.CFStringRef, valueListAttrs corefoundation.CFArrayRef, sortingAttrs corefoundation.CFArrayRef) MDQueryRef
MDQueryCreateSubset calls the Metadata framework function MDQueryCreateSubset.
func (MDQueryRef) IsNil ¶ added in v0.18.0
func (h MDQueryRef) IsNil() bool
IsNil reports whether MDQueryRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int32
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
String returns the MDQuerySortOptionFlags constant's name, or its numeric form when the value is not a known constant.
type MpoFlags ¶ added in v0.17.0
type MpoFlags uint32
Bitmask — values may be combined with |.
const ( MpoFlagsPort MpoFlags = 0 MpoFlagsServicePort MpoFlags = 1024 MpoFlagsConnectionPort MpoFlags = 2048 MpoFlagsReplyPort MpoFlags = 4096 MpoFlagsWeakReplyPort MpoFlags = 16384 MpoFlagsNotificationPort MpoFlags = 17408 MpoFlagsExceptionPort MpoFlags = 32768 MpoFlagsConnectionPortWithPortArray MpoFlags = 65536 )
type Perm ¶ added in v0.17.0
type Perm int32
const ( PermReadData Perm = 2 PermListDirectory Perm = 2 PermWriteData Perm = 4 PermAddFile Perm = 4 PermExecute Perm = 8 PermSearch Perm = 8 PermDelete Perm = 16 PermAppendData Perm = 32 PermAddSubdirectory Perm = 32 PermDeleteChild Perm = 64 PermReadAttributes Perm = 128 PermWriteAttributes Perm = 256 PermReadExtattributes Perm = 512 PermWriteExtattributes Perm = 1024 PermReadSecurity Perm = 2048 PermWriteSecurity Perm = 4096 PermChangeOwner Perm = 8192 PermSynchronize Perm = 1048576 )
type PtrauthKey ¶ added in v0.17.0
type PtrauthKey int32
const ( Ptrauth_key_none PtrauthKey = -1 Ptrauth_key_asia PtrauthKey = 0 Ptrauth_key_asib PtrauthKey = 1 Ptrauth_key_asda PtrauthKey = 2 Ptrauth_key_asdb PtrauthKey = 3 Ptrauth_key_process_independent_code PtrauthKey = 0 Ptrauth_key_process_dependent_code PtrauthKey = 1 Ptrauth_key_process_independent_data PtrauthKey = 2 Ptrauth_key_process_dependent_data PtrauthKey = 3 Ptrauth_key_return_address PtrauthKey = 1 Ptrauth_key_frame_pointer PtrauthKey = 3 Ptrauth_key_function_pointer PtrauthKey = 0 Ptrauth_key_block_function PtrauthKey = 0 Ptrauth_key_cxx_vtable_pointer PtrauthKey = 2 Ptrauth_key_method_list_pointer PtrauthKey = 2 Ptrauth_key_objc_isa_pointer PtrauthKey = 2 Ptrauth_key_objc_super_pointer PtrauthKey = 2 Ptrauth_key_objc_sel_pointer PtrauthKey = 3 Ptrauth_key_objc_class_ro_pointer PtrauthKey = 2 Ptrauth_key_block_descriptor_pointer PtrauthKey = 2 Ptrauth_key_init_fini_pointer PtrauthKey = 0 )
func (PtrauthKey) String ¶ added in v0.17.0
func (e PtrauthKey) String() string
String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.