metadata

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Rendered for darwin/amd64

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func KMDAttributeAllValues

func KMDAttributeAllValues() obj.Object

KMDAttributeAllValues returns the value of the constant kMDAttributeAllValues.

func KMDAttributeDisplayValues

func KMDAttributeDisplayValues() obj.Object

KMDAttributeDisplayValues returns the value of the constant kMDAttributeDisplayValues.

func KMDAttributeMultiValued

func KMDAttributeMultiValued() obj.Object

KMDAttributeMultiValued returns the value of the constant kMDAttributeMultiValued.

func KMDAttributeName

func KMDAttributeName() obj.Object

KMDAttributeName returns the value of the constant kMDAttributeName.

func KMDAttributeReadOnlyValues

func KMDAttributeReadOnlyValues() obj.Object

KMDAttributeReadOnlyValues returns the value of the constant kMDAttributeReadOnlyValues.

func KMDAttributeType

func KMDAttributeType() obj.Object

KMDAttributeType returns the value of the constant kMDAttributeType.

func KMDExporterAvaliable

func KMDExporterAvaliable() obj.Object

KMDExporterAvaliable returns the value of the constant kMDExporterAvaliable.

func KMDItemAcquisitionMake

func KMDItemAcquisitionMake() obj.Object

KMDItemAcquisitionMake returns the value of the constant kMDItemAcquisitionMake.

func KMDItemAcquisitionModel

func KMDItemAcquisitionModel() obj.Object

KMDItemAcquisitionModel returns the value of the constant kMDItemAcquisitionModel.

func KMDItemAlbum

func KMDItemAlbum() obj.Object

KMDItemAlbum returns the value of the constant kMDItemAlbum.

func KMDItemAltitude

func KMDItemAltitude() obj.Object

KMDItemAltitude returns the value of the constant kMDItemAltitude.

func KMDItemAperture

func KMDItemAperture() obj.Object

KMDItemAperture returns the value of the constant kMDItemAperture.

func KMDItemAppleLoopDescriptors

func KMDItemAppleLoopDescriptors() obj.Object

KMDItemAppleLoopDescriptors returns the value of the constant kMDItemAppleLoopDescriptors.

func KMDItemAppleLoopsKeyFilterType

func KMDItemAppleLoopsKeyFilterType() obj.Object

KMDItemAppleLoopsKeyFilterType returns the value of the constant kMDItemAppleLoopsKeyFilterType.

func KMDItemAppleLoopsLoopMode

func KMDItemAppleLoopsLoopMode() obj.Object

KMDItemAppleLoopsLoopMode returns the value of the constant kMDItemAppleLoopsLoopMode.

func KMDItemAppleLoopsRootKey

func KMDItemAppleLoopsRootKey() obj.Object

KMDItemAppleLoopsRootKey returns the value of the constant kMDItemAppleLoopsRootKey.

func KMDItemApplicationCategories

func KMDItemApplicationCategories() obj.Object

KMDItemApplicationCategories returns the value of the constant kMDItemApplicationCategories.

func KMDItemAttributeChangeDate

func KMDItemAttributeChangeDate() obj.Object

KMDItemAttributeChangeDate returns the value of the constant kMDItemAttributeChangeDate.

func KMDItemAudiences

func KMDItemAudiences() obj.Object

KMDItemAudiences returns the value of the constant kMDItemAudiences.

func KMDItemAudioBitRate

func KMDItemAudioBitRate() obj.Object

KMDItemAudioBitRate returns the value of the constant kMDItemAudioBitRate.

func KMDItemAudioChannelCount

func KMDItemAudioChannelCount() obj.Object

KMDItemAudioChannelCount returns the value of the constant kMDItemAudioChannelCount.

func KMDItemAudioEncodingApplication

func KMDItemAudioEncodingApplication() obj.Object

KMDItemAudioEncodingApplication returns the value of the constant kMDItemAudioEncodingApplication.

func KMDItemAudioSampleRate

func KMDItemAudioSampleRate() obj.Object

KMDItemAudioSampleRate returns the value of the constant kMDItemAudioSampleRate.

func KMDItemAudioTrackNumber

func KMDItemAudioTrackNumber() obj.Object

KMDItemAudioTrackNumber returns the value of the constant kMDItemAudioTrackNumber.

func KMDItemAuthorAddresses

func KMDItemAuthorAddresses() obj.Object

KMDItemAuthorAddresses returns the value of the constant kMDItemAuthorAddresses.

func KMDItemAuthorEmailAddresses

func KMDItemAuthorEmailAddresses() obj.Object

KMDItemAuthorEmailAddresses returns the value of the constant kMDItemAuthorEmailAddresses.

func KMDItemAuthors

func KMDItemAuthors() obj.Object

KMDItemAuthors returns the value of the constant kMDItemAuthors.

func KMDItemBitsPerSample

func KMDItemBitsPerSample() obj.Object

KMDItemBitsPerSample returns the value of the constant kMDItemBitsPerSample.

func KMDItemCFBundleIdentifier

func KMDItemCFBundleIdentifier() obj.Object

KMDItemCFBundleIdentifier returns the value of the constant kMDItemCFBundleIdentifier.

func KMDItemCameraOwner

func KMDItemCameraOwner() obj.Object

KMDItemCameraOwner returns the value of the constant kMDItemCameraOwner.

func KMDItemCity

func KMDItemCity() obj.Object

KMDItemCity returns the value of the constant kMDItemCity.

func KMDItemCodecs

func KMDItemCodecs() obj.Object

KMDItemCodecs returns the value of the constant kMDItemCodecs.

func KMDItemColorSpace

func KMDItemColorSpace() obj.Object

KMDItemColorSpace returns the value of the constant kMDItemColorSpace.

func KMDItemComment

func KMDItemComment() obj.Object

KMDItemComment returns the value of the constant kMDItemComment.

func KMDItemComposer

func KMDItemComposer() obj.Object

KMDItemComposer returns the value of the constant kMDItemComposer.

func KMDItemContactKeywords

func KMDItemContactKeywords() obj.Object

KMDItemContactKeywords returns the value of the constant kMDItemContactKeywords.

func KMDItemContentCreationDate

func KMDItemContentCreationDate() obj.Object

KMDItemContentCreationDate returns the value of the constant kMDItemContentCreationDate.

func KMDItemContentModificationDate

func KMDItemContentModificationDate() obj.Object

KMDItemContentModificationDate returns the value of the constant kMDItemContentModificationDate.

func KMDItemContentType

func KMDItemContentType() obj.Object

KMDItemContentType returns the value of the constant kMDItemContentType.

func KMDItemContentTypeTree

func KMDItemContentTypeTree() obj.Object

KMDItemContentTypeTree returns the value of the constant kMDItemContentTypeTree.

func KMDItemContributors

func KMDItemContributors() obj.Object

KMDItemContributors returns the value of the constant kMDItemContributors.

func KMDItemCopyright

func KMDItemCopyright() obj.Object

KMDItemCopyright returns the value of the constant kMDItemCopyright.

func KMDItemCountry

func KMDItemCountry() obj.Object

KMDItemCountry returns the value of the constant kMDItemCountry.

func KMDItemCoverage

func KMDItemCoverage() obj.Object

KMDItemCoverage returns the value of the constant kMDItemCoverage.

func KMDItemCreator

func KMDItemCreator() obj.Object

KMDItemCreator returns the value of the constant kMDItemCreator.

func KMDItemDateAdded

func KMDItemDateAdded() obj.Object

KMDItemDateAdded returns the value of the constant kMDItemDateAdded.

func KMDItemDeliveryType

func KMDItemDeliveryType() obj.Object

KMDItemDeliveryType returns the value of the constant kMDItemDeliveryType.

func KMDItemDescription

func KMDItemDescription() obj.Object

KMDItemDescription returns the value of the constant kMDItemDescription.

func KMDItemDirector

func KMDItemDirector() obj.Object

KMDItemDirector returns the value of the constant kMDItemDirector.

func KMDItemDisplayName

func KMDItemDisplayName() obj.Object

KMDItemDisplayName returns the value of the constant kMDItemDisplayName.

func KMDItemDownloadedDate

func KMDItemDownloadedDate() obj.Object

KMDItemDownloadedDate returns the value of the constant kMDItemDownloadedDate.

func KMDItemDueDate

func KMDItemDueDate() obj.Object

KMDItemDueDate returns the value of the constant kMDItemDueDate.

func KMDItemDurationSeconds

func KMDItemDurationSeconds() obj.Object

KMDItemDurationSeconds returns the value of the constant kMDItemDurationSeconds.

func KMDItemEXIFGPSVersion

func KMDItemEXIFGPSVersion() obj.Object

KMDItemEXIFGPSVersion returns the value of the constant kMDItemEXIFGPSVersion.

func KMDItemEXIFVersion

func KMDItemEXIFVersion() obj.Object

KMDItemEXIFVersion returns the value of the constant kMDItemEXIFVersion.

func KMDItemEditors

func KMDItemEditors() obj.Object

KMDItemEditors returns the value of the constant kMDItemEditors.

func KMDItemEmailAddresses

func KMDItemEmailAddresses() obj.Object

KMDItemEmailAddresses returns the value of the constant kMDItemEmailAddresses.

func KMDItemEncodingApplications

func KMDItemEncodingApplications() obj.Object

KMDItemEncodingApplications returns the value of the constant kMDItemEncodingApplications.

func KMDItemExecutableArchitectures

func KMDItemExecutableArchitectures() obj.Object

KMDItemExecutableArchitectures returns the value of the constant kMDItemExecutableArchitectures.

func KMDItemExecutablePlatform

func KMDItemExecutablePlatform() obj.Object

KMDItemExecutablePlatform returns the value of the constant kMDItemExecutablePlatform.

func KMDItemExposureMode

func KMDItemExposureMode() obj.Object

KMDItemExposureMode returns the value of the constant kMDItemExposureMode.

func KMDItemExposureProgram

func KMDItemExposureProgram() obj.Object

KMDItemExposureProgram returns the value of the constant kMDItemExposureProgram.

func KMDItemExposureTimeSeconds

func KMDItemExposureTimeSeconds() obj.Object

KMDItemExposureTimeSeconds returns the value of the constant kMDItemExposureTimeSeconds.

func KMDItemExposureTimeString

func KMDItemExposureTimeString() obj.Object

KMDItemExposureTimeString returns the value of the constant kMDItemExposureTimeString.

func KMDItemFNumber

func KMDItemFNumber() obj.Object

KMDItemFNumber returns the value of the constant kMDItemFNumber.

func KMDItemFSContentChangeDate

func KMDItemFSContentChangeDate() obj.Object

KMDItemFSContentChangeDate returns the value of the constant kMDItemFSContentChangeDate.

func KMDItemFSCreationDate

func KMDItemFSCreationDate() obj.Object

KMDItemFSCreationDate returns the value of the constant kMDItemFSCreationDate.

func KMDItemFSExists

func KMDItemFSExists() obj.Object

KMDItemFSExists returns the value of the constant kMDItemFSExists.

func KMDItemFSHasCustomIcon

func KMDItemFSHasCustomIcon() obj.Object

KMDItemFSHasCustomIcon returns the value of the constant kMDItemFSHasCustomIcon.

func KMDItemFSInvisible

func KMDItemFSInvisible() obj.Object

KMDItemFSInvisible returns the value of the constant kMDItemFSInvisible.

func KMDItemFSIsExtensionHidden

func KMDItemFSIsExtensionHidden() obj.Object

KMDItemFSIsExtensionHidden returns the value of the constant kMDItemFSIsExtensionHidden.

func KMDItemFSIsReadable

func KMDItemFSIsReadable() obj.Object

KMDItemFSIsReadable returns the value of the constant kMDItemFSIsReadable.

func KMDItemFSIsStationery

func KMDItemFSIsStationery() obj.Object

KMDItemFSIsStationery returns the value of the constant kMDItemFSIsStationery.

func KMDItemFSIsWriteable

func KMDItemFSIsWriteable() obj.Object

KMDItemFSIsWriteable returns the value of the constant kMDItemFSIsWriteable.

func KMDItemFSLabel

func KMDItemFSLabel() obj.Object

KMDItemFSLabel returns the value of the constant kMDItemFSLabel.

func KMDItemFSName

func KMDItemFSName() obj.Object

KMDItemFSName returns the value of the constant kMDItemFSName.

func KMDItemFSNodeCount

func KMDItemFSNodeCount() obj.Object

KMDItemFSNodeCount returns the value of the constant kMDItemFSNodeCount.

func KMDItemFSOwnerGroupID

func KMDItemFSOwnerGroupID() obj.Object

KMDItemFSOwnerGroupID returns the value of the constant kMDItemFSOwnerGroupID.

func KMDItemFSOwnerUserID

func KMDItemFSOwnerUserID() obj.Object

KMDItemFSOwnerUserID returns the value of the constant kMDItemFSOwnerUserID.

func KMDItemFSSize

func KMDItemFSSize() obj.Object

KMDItemFSSize returns the value of the constant kMDItemFSSize.

func KMDItemFinderComment

func KMDItemFinderComment() obj.Object

KMDItemFinderComment returns the value of the constant kMDItemFinderComment.

func KMDItemFlashOnOff

func KMDItemFlashOnOff() obj.Object

KMDItemFlashOnOff returns the value of the constant kMDItemFlashOnOff.

func KMDItemFocalLength

func KMDItemFocalLength() obj.Object

KMDItemFocalLength returns the value of the constant kMDItemFocalLength.

func KMDItemFocalLength35mm

func KMDItemFocalLength35mm() obj.Object

KMDItemFocalLength35mm returns the value of the constant kMDItemFocalLength35mm.

func KMDItemFonts

func KMDItemFonts() obj.Object

KMDItemFonts returns the value of the constant kMDItemFonts.

func KMDItemGPSAreaInformation

func KMDItemGPSAreaInformation() obj.Object

KMDItemGPSAreaInformation returns the value of the constant kMDItemGPSAreaInformation.

func KMDItemGPSDOP

func KMDItemGPSDOP() obj.Object

KMDItemGPSDOP returns the value of the constant kMDItemGPSDOP.

func KMDItemGPSDateStamp

func KMDItemGPSDateStamp() obj.Object

KMDItemGPSDateStamp returns the value of the constant kMDItemGPSDateStamp.

func KMDItemGPSDestBearing

func KMDItemGPSDestBearing() obj.Object

KMDItemGPSDestBearing returns the value of the constant kMDItemGPSDestBearing.

func KMDItemGPSDestDistance

func KMDItemGPSDestDistance() obj.Object

KMDItemGPSDestDistance returns the value of the constant kMDItemGPSDestDistance.

func KMDItemGPSDestLatitude

func KMDItemGPSDestLatitude() obj.Object

KMDItemGPSDestLatitude returns the value of the constant kMDItemGPSDestLatitude.

func KMDItemGPSDestLongitude

func KMDItemGPSDestLongitude() obj.Object

KMDItemGPSDestLongitude returns the value of the constant kMDItemGPSDestLongitude.

func KMDItemGPSDifferental

func KMDItemGPSDifferental() obj.Object

KMDItemGPSDifferental returns the value of the constant kMDItemGPSDifferental.

func KMDItemGPSMapDatum

func KMDItemGPSMapDatum() obj.Object

KMDItemGPSMapDatum returns the value of the constant kMDItemGPSMapDatum.

func KMDItemGPSMeasureMode

func KMDItemGPSMeasureMode() obj.Object

KMDItemGPSMeasureMode returns the value of the constant kMDItemGPSMeasureMode.

func KMDItemGPSProcessingMethod

func KMDItemGPSProcessingMethod() obj.Object

KMDItemGPSProcessingMethod returns the value of the constant kMDItemGPSProcessingMethod.

func KMDItemGPSStatus

func KMDItemGPSStatus() obj.Object

KMDItemGPSStatus returns the value of the constant kMDItemGPSStatus.

func KMDItemGPSTrack

func KMDItemGPSTrack() obj.Object

KMDItemGPSTrack returns the value of the constant kMDItemGPSTrack.

func KMDItemGenre

func KMDItemGenre() obj.Object

KMDItemGenre returns the value of the constant kMDItemGenre.

func KMDItemHTMLContent

func KMDItemHTMLContent() obj.Object

KMDItemHTMLContent returns the value of the constant kMDItemHTMLContent.

func KMDItemHasAlphaChannel

func KMDItemHasAlphaChannel() obj.Object

KMDItemHasAlphaChannel returns the value of the constant kMDItemHasAlphaChannel.

func KMDItemHeadline

func KMDItemHeadline() obj.Object

KMDItemHeadline returns the value of the constant kMDItemHeadline.

func KMDItemISOSpeed

func KMDItemISOSpeed() obj.Object

KMDItemISOSpeed returns the value of the constant kMDItemISOSpeed.

func KMDItemIdentifier

func KMDItemIdentifier() obj.Object

KMDItemIdentifier returns the value of the constant kMDItemIdentifier.

func KMDItemImageDirection

func KMDItemImageDirection() obj.Object

KMDItemImageDirection returns the value of the constant kMDItemImageDirection.

func KMDItemInformation

func KMDItemInformation() obj.Object

KMDItemInformation returns the value of the constant kMDItemInformation.

func KMDItemInstantMessageAddresses

func KMDItemInstantMessageAddresses() obj.Object

KMDItemInstantMessageAddresses returns the value of the constant kMDItemInstantMessageAddresses.

func KMDItemInstructions

func KMDItemInstructions() obj.Object

KMDItemInstructions returns the value of the constant kMDItemInstructions.

func KMDItemIsApplicationManaged

func KMDItemIsApplicationManaged() obj.Object

KMDItemIsApplicationManaged returns the value of the constant kMDItemIsApplicationManaged.

func KMDItemIsGeneralMIDISequence

func KMDItemIsGeneralMIDISequence() obj.Object

KMDItemIsGeneralMIDISequence returns the value of the constant kMDItemIsGeneralMIDISequence.

func KMDItemIsLikelyJunk

func KMDItemIsLikelyJunk() obj.Object

KMDItemIsLikelyJunk returns the value of the constant kMDItemIsLikelyJunk.

func KMDItemKeySignature

func KMDItemKeySignature() obj.Object

KMDItemKeySignature returns the value of the constant kMDItemKeySignature.

func KMDItemKeywords

func KMDItemKeywords() obj.Object

KMDItemKeywords returns the value of the constant kMDItemKeywords.

func KMDItemKind

func KMDItemKind() obj.Object

KMDItemKind returns the value of the constant kMDItemKind.

func KMDItemLabelID

func KMDItemLabelID() obj.Object

KMDItemLabelID returns the value of the constant kMDItemLabelID.

func KMDItemLabelIcon

func KMDItemLabelIcon() obj.Object

KMDItemLabelIcon returns the value of the constant kMDItemLabelIcon.

func KMDItemLabelKind

func KMDItemLabelKind() obj.Object

KMDItemLabelKind returns the value of the constant kMDItemLabelKind.

func KMDItemLabelUUID

func KMDItemLabelUUID() obj.Object

KMDItemLabelUUID returns the value of the constant kMDItemLabelUUID.

func KMDItemLanguages

func KMDItemLanguages() obj.Object

KMDItemLanguages returns the value of the constant kMDItemLanguages.

func KMDItemLastUsedDate

func KMDItemLastUsedDate() obj.Object

KMDItemLastUsedDate returns the value of the constant kMDItemLastUsedDate.

func KMDItemLatitude

func KMDItemLatitude() obj.Object

KMDItemLatitude returns the value of the constant kMDItemLatitude.

func KMDItemLayerNames

func KMDItemLayerNames() obj.Object

KMDItemLayerNames returns the value of the constant kMDItemLayerNames.

func KMDItemLensModel

func KMDItemLensModel() obj.Object

KMDItemLensModel returns the value of the constant kMDItemLensModel.

func KMDItemLongitude

func KMDItemLongitude() obj.Object

KMDItemLongitude returns the value of the constant kMDItemLongitude.

func KMDItemLyricist

func KMDItemLyricist() obj.Object

KMDItemLyricist returns the value of the constant kMDItemLyricist.

func KMDItemMaxAperture

func KMDItemMaxAperture() obj.Object

KMDItemMaxAperture returns the value of the constant kMDItemMaxAperture.

func KMDItemMediaExtensions

func KMDItemMediaExtensions() obj.Object

KMDItemMediaExtensions returns the value of the constant kMDItemMediaExtensions.

func KMDItemMediaTypes

func KMDItemMediaTypes() obj.Object

KMDItemMediaTypes returns the value of the constant kMDItemMediaTypes.

func KMDItemMeteringMode

func KMDItemMeteringMode() obj.Object

KMDItemMeteringMode returns the value of the constant kMDItemMeteringMode.

func KMDItemMusicalGenre

func KMDItemMusicalGenre() obj.Object

KMDItemMusicalGenre returns the value of the constant kMDItemMusicalGenre.

func KMDItemMusicalInstrumentCategory

func KMDItemMusicalInstrumentCategory() obj.Object

KMDItemMusicalInstrumentCategory returns the value of the constant kMDItemMusicalInstrumentCategory.

func KMDItemMusicalInstrumentName

func KMDItemMusicalInstrumentName() obj.Object

KMDItemMusicalInstrumentName returns the value of the constant kMDItemMusicalInstrumentName.

func KMDItemNamedLocation

func KMDItemNamedLocation() obj.Object

KMDItemNamedLocation returns the value of the constant kMDItemNamedLocation.

func KMDItemNumberOfPages

func KMDItemNumberOfPages() obj.Object

KMDItemNumberOfPages returns the value of the constant kMDItemNumberOfPages.

func KMDItemOrganizations

func KMDItemOrganizations() obj.Object

KMDItemOrganizations returns the value of the constant kMDItemOrganizations.

func KMDItemOrientation

func KMDItemOrientation() obj.Object

KMDItemOrientation returns the value of the constant kMDItemOrientation.

func KMDItemOriginalFormat

func KMDItemOriginalFormat() obj.Object

KMDItemOriginalFormat returns the value of the constant kMDItemOriginalFormat.

func KMDItemOriginalSource

func KMDItemOriginalSource() obj.Object

KMDItemOriginalSource returns the value of the constant kMDItemOriginalSource.

func KMDItemPageHeight

func KMDItemPageHeight() obj.Object

KMDItemPageHeight returns the value of the constant kMDItemPageHeight.

func KMDItemPageWidth

func KMDItemPageWidth() obj.Object

KMDItemPageWidth returns the value of the constant kMDItemPageWidth.

func KMDItemParticipants

func KMDItemParticipants() obj.Object

KMDItemParticipants returns the value of the constant kMDItemParticipants.

func KMDItemPath

func KMDItemPath() obj.Object

KMDItemPath returns the value of the constant kMDItemPath.

func KMDItemPerformers

func KMDItemPerformers() obj.Object

KMDItemPerformers returns the value of the constant kMDItemPerformers.

func KMDItemPhoneNumbers

func KMDItemPhoneNumbers() obj.Object

KMDItemPhoneNumbers returns the value of the constant kMDItemPhoneNumbers.

func KMDItemPixelCount

func KMDItemPixelCount() obj.Object

KMDItemPixelCount returns the value of the constant kMDItemPixelCount.

func KMDItemPixelHeight

func KMDItemPixelHeight() obj.Object

KMDItemPixelHeight returns the value of the constant kMDItemPixelHeight.

func KMDItemPixelWidth

func KMDItemPixelWidth() obj.Object

KMDItemPixelWidth returns the value of the constant kMDItemPixelWidth.

func KMDItemProducer

func KMDItemProducer() obj.Object

KMDItemProducer returns the value of the constant kMDItemProducer.

func KMDItemProfileName

func KMDItemProfileName() obj.Object

KMDItemProfileName returns the value of the constant kMDItemProfileName.

func KMDItemProjects

func KMDItemProjects() obj.Object

KMDItemProjects returns the value of the constant kMDItemProjects.

func KMDItemPublishers

func KMDItemPublishers() obj.Object

KMDItemPublishers returns the value of the constant kMDItemPublishers.

func KMDItemRecipientAddresses

func KMDItemRecipientAddresses() obj.Object

KMDItemRecipientAddresses returns the value of the constant kMDItemRecipientAddresses.

func KMDItemRecipientEmailAddresses

func KMDItemRecipientEmailAddresses() obj.Object

KMDItemRecipientEmailAddresses returns the value of the constant kMDItemRecipientEmailAddresses.

func KMDItemRecipients

func KMDItemRecipients() obj.Object

KMDItemRecipients returns the value of the constant kMDItemRecipients.

func KMDItemRecordingDate

func KMDItemRecordingDate() obj.Object

KMDItemRecordingDate returns the value of the constant kMDItemRecordingDate.

func KMDItemRecordingYear

func KMDItemRecordingYear() obj.Object

KMDItemRecordingYear returns the value of the constant kMDItemRecordingYear.

func KMDItemRedEyeOnOff

func KMDItemRedEyeOnOff() obj.Object

KMDItemRedEyeOnOff returns the value of the constant kMDItemRedEyeOnOff.

func KMDItemResolutionHeightDPI

func KMDItemResolutionHeightDPI() obj.Object

KMDItemResolutionHeightDPI returns the value of the constant kMDItemResolutionHeightDPI.

func KMDItemResolutionWidthDPI

func KMDItemResolutionWidthDPI() obj.Object

KMDItemResolutionWidthDPI returns the value of the constant kMDItemResolutionWidthDPI.

func KMDItemRights

func KMDItemRights() obj.Object

KMDItemRights returns the value of the constant kMDItemRights.

func KMDItemSecurityMethod

func KMDItemSecurityMethod() obj.Object

KMDItemSecurityMethod returns the value of the constant kMDItemSecurityMethod.

func KMDItemSpeed

func KMDItemSpeed() obj.Object

KMDItemSpeed returns the value of the constant kMDItemSpeed.

func KMDItemStarRating

func KMDItemStarRating() obj.Object

KMDItemStarRating returns the value of the constant kMDItemStarRating.

func KMDItemStateOrProvince

func KMDItemStateOrProvince() obj.Object

KMDItemStateOrProvince returns the value of the constant kMDItemStateOrProvince.

func KMDItemStreamable

func KMDItemStreamable() obj.Object

KMDItemStreamable returns the value of the constant kMDItemStreamable.

func KMDItemSubject

func KMDItemSubject() obj.Object

KMDItemSubject returns the value of the constant kMDItemSubject.

func KMDItemSupportFileType

func KMDItemSupportFileType() obj.Object

KMDItemSupportFileType returns the value of the constant kMDItemSupportFileType.

func KMDItemTempo

func KMDItemTempo() obj.Object

KMDItemTempo returns the value of the constant kMDItemTempo.

func KMDItemTextContent

func KMDItemTextContent() obj.Object

KMDItemTextContent returns the value of the constant kMDItemTextContent.

func KMDItemTheme

func KMDItemTheme() obj.Object

KMDItemTheme returns the value of the constant kMDItemTheme.

func KMDItemTimeSignature

func KMDItemTimeSignature() obj.Object

KMDItemTimeSignature returns the value of the constant kMDItemTimeSignature.

func KMDItemTimestamp

func KMDItemTimestamp() obj.Object

KMDItemTimestamp returns the value of the constant kMDItemTimestamp.

func KMDItemTitle

func KMDItemTitle() obj.Object

KMDItemTitle returns the value of the constant kMDItemTitle.

func KMDItemTotalBitRate

func KMDItemTotalBitRate() obj.Object

KMDItemTotalBitRate returns the value of the constant kMDItemTotalBitRate.

func KMDItemURL

func KMDItemURL() obj.Object

KMDItemURL returns the value of the constant kMDItemURL.

func KMDItemVersion

func KMDItemVersion() obj.Object

KMDItemVersion returns the value of the constant kMDItemVersion.

func KMDItemVideoBitRate

func KMDItemVideoBitRate() obj.Object

KMDItemVideoBitRate returns the value of the constant kMDItemVideoBitRate.

func KMDItemWhereFroms

func KMDItemWhereFroms() obj.Object

KMDItemWhereFroms returns the value of the constant kMDItemWhereFroms.

func KMDItemWhiteBalance

func KMDItemWhiteBalance() obj.Object

KMDItemWhiteBalance returns the value of the constant kMDItemWhiteBalance.

func KMDItemXMPCredit

func KMDItemXMPCredit() obj.Object

KMDItemXMPCredit returns the value of the constant kMDItemXMPCredit.

func KMDItemXMPDigitalSourceType

func KMDItemXMPDigitalSourceType() obj.Object

KMDItemXMPDigitalSourceType returns the value of the constant kMDItemXMPDigitalSourceType.

func KMDLabelAddedNotification

func KMDLabelAddedNotification() obj.Object

KMDLabelAddedNotification returns the value of the constant kMDLabelAddedNotification.

func KMDLabelBundleURL

func KMDLabelBundleURL() obj.Object

KMDLabelBundleURL returns the value of the constant kMDLabelBundleURL.

func KMDLabelChangedNotification

func KMDLabelChangedNotification() obj.Object

KMDLabelChangedNotification returns the value of the constant kMDLabelChangedNotification.

func KMDLabelContentChangeDate

func KMDLabelContentChangeDate() obj.Object

KMDLabelContentChangeDate returns the value of the constant kMDLabelContentChangeDate.

func KMDLabelDisplayName

func KMDLabelDisplayName() obj.Object

KMDLabelDisplayName returns the value of the constant kMDLabelDisplayName.

func KMDLabelIconData

func KMDLabelIconData() obj.Object

KMDLabelIconData returns the value of the constant kMDLabelIconData.

func KMDLabelIconUUID

func KMDLabelIconUUID() obj.Object

KMDLabelIconUUID returns the value of the constant kMDLabelIconUUID.

func KMDLabelIsMutuallyExclusiveSetMember

func KMDLabelIsMutuallyExclusiveSetMember() obj.Object

KMDLabelIsMutuallyExclusiveSetMember returns the value of the constant kMDLabelIsMutuallyExclusiveSetMember.

func KMDLabelKind

func KMDLabelKind() obj.Object

KMDLabelKind returns the value of the constant kMDLabelKind.

func KMDLabelKindIsMutuallyExclusiveSetKey

func KMDLabelKindIsMutuallyExclusiveSetKey() obj.Object

KMDLabelKindIsMutuallyExclusiveSetKey returns the value of the constant kMDLabelKindIsMutuallyExclusiveSetKey.

func KMDLabelKindVisibilityKey

func KMDLabelKindVisibilityKey() obj.Object

KMDLabelKindVisibilityKey returns the value of the constant kMDLabelKindVisibilityKey.

func KMDLabelRemovedNotification

func KMDLabelRemovedNotification() obj.Object

KMDLabelRemovedNotification returns the value of the constant kMDLabelRemovedNotification.

func KMDLabelSetsFinderColor

func KMDLabelSetsFinderColor() obj.Object

KMDLabelSetsFinderColor returns the value of the constant kMDLabelSetsFinderColor.

func KMDLabelUUID

func KMDLabelUUID() obj.Object

KMDLabelUUID returns the value of the constant kMDLabelUUID.

func KMDLabelVisibility

func KMDLabelVisibility() obj.Object

KMDLabelVisibility returns the value of the constant kMDLabelVisibility.

func KMDPrivateVisibility

func KMDPrivateVisibility() obj.Object

KMDPrivateVisibility returns the value of the constant kMDPrivateVisibility.

func KMDPublicVisibility

func KMDPublicVisibility() obj.Object

KMDPublicVisibility returns the value of the constant kMDPublicVisibility.

func KMDQueryDidFinishNotification

func KMDQueryDidFinishNotification() obj.Object

KMDQueryDidFinishNotification returns the value of the constant kMDQueryDidFinishNotification.

func KMDQueryDidUpdateNotification

func KMDQueryDidUpdateNotification() obj.Object

KMDQueryDidUpdateNotification returns the value of the constant kMDQueryDidUpdateNotification.

func KMDQueryProgressNotification

func KMDQueryProgressNotification() obj.Object

KMDQueryProgressNotification returns the value of the constant kMDQueryProgressNotification.

func KMDQueryResultContentRelevance

func KMDQueryResultContentRelevance() obj.Object

KMDQueryResultContentRelevance returns the value of the constant kMDQueryResultContentRelevance.

func KMDQueryScopeAllIndexed

func KMDQueryScopeAllIndexed() obj.Object

KMDQueryScopeAllIndexed returns the value of the constant kMDQueryScopeAllIndexed.

func KMDQueryScopeComputer

func KMDQueryScopeComputer() obj.Object

KMDQueryScopeComputer returns the value of the constant kMDQueryScopeComputer.

func KMDQueryScopeComputerIndexed

func KMDQueryScopeComputerIndexed() obj.Object

KMDQueryScopeComputerIndexed returns the value of the constant kMDQueryScopeComputerIndexed.

func KMDQueryScopeHome

func KMDQueryScopeHome() obj.Object

KMDQueryScopeHome returns the value of the constant kMDQueryScopeHome.

func KMDQueryScopeNetwork

func KMDQueryScopeNetwork() obj.Object

KMDQueryScopeNetwork returns the value of the constant kMDQueryScopeNetwork.

func KMDQueryScopeNetworkIndexed

func KMDQueryScopeNetworkIndexed() obj.Object

KMDQueryScopeNetworkIndexed returns the value of the constant kMDQueryScopeNetworkIndexed.

func KMDQueryUpdateAddedItems

func KMDQueryUpdateAddedItems() obj.Object

KMDQueryUpdateAddedItems returns the value of the constant kMDQueryUpdateAddedItems.

func KMDQueryUpdateChangedItems

func KMDQueryUpdateChangedItems() obj.Object

KMDQueryUpdateChangedItems returns the value of the constant kMDQueryUpdateChangedItems.

func KMDQueryUpdateRemovedItems

func KMDQueryUpdateRemovedItems() obj.Object

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 Clockid added in v0.17.0

type Clockid int32
const (
	ClockidRealtime           Clockid = 0
	ClockidMonotonic          Clockid = 6
	ClockidMonotonicRaw       Clockid = 4
	ClockidMonotonicRawApprox Clockid = 5
	ClockidUptimeRaw          Clockid = 8
	ClockidUptimeRawApprox    Clockid = 9
	ClockidProcessCputimeID   Clockid = 12
	ClockidThreadCputimeID    Clockid = 16
)

func (Clockid) String added in v0.17.0

func (e Clockid) String() string

String returns the Clockid constant's name, or its numeric form when the value is not a known constant.

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

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 EntryID added in v0.17.0

type EntryID int32
const (
	EntryIDFirstEntry EntryID = 0
	EntryIDNextEntry  EntryID = -1
	EntryIDLastEntry  EntryID = -2
)

func (EntryID) String added in v0.17.0

func (e EntryID) String() string

String returns the EntryID 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 Flag added in v0.17.0

type Flag int32
const (
	FlagFlagDeferInherit      Flag = 1
	FlagFlagNoInherit         Flag = 131072
	FlagEntryInherited        Flag = 16
	FlagEntryFileInherit      Flag = 32
	FlagEntryDirectoryInherit Flag = 64
	FlagEntryLimitInherit     Flag = 128
	FlagEntryOnlyInherit      Flag = 256
)

func (Flag) String added in v0.17.0

func (e Flag) String() string

String returns the Flag constant's name, or its numeric form when the value is not a known constant.

type Idtype added in v0.17.0

type Idtype int32
const (
	IdtypeAll  Idtype = 0
	IdtypePid  Idtype = 1
	IdtypePgid Idtype = 2
)

func (Idtype) String added in v0.17.0

func (e Idtype) String() string

String returns the Idtype constant's name, or its numeric form when the value is not a known constant.

type MDItem

type MDItem struct{}

type MDItemRef added in v0.18.0

type MDItemRef struct{ obj.Object }

MDItemRef is a handle for the opaque MDItemRef type.

func MDItemCreate

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.

func (MDItemRef) IsNil added in v0.18.0

func (h MDItemRef) IsNil() bool

IsNil reports whether MDItemRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type MDLabel

type MDLabel struct{}

This is the type of a reference to an MDLabel.

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

type MDLabelRef struct{ obj.Object }

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

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 MDQuery

type MDQuery struct{}

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

type MDQueryRef struct{ obj.Object }

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
)

func (MpoFlags) String added in v0.17.0

func (e MpoFlags) String() string

String returns the MpoFlags constant's name, or its numeric form when the value is not a known constant.

type OSClockid added in v0.17.0

type OSClockid uint32
const (
	OSClockidTime OSClockid = 32
)

func (OSClockid) String added in v0.17.0

func (e OSClockid) String() string

String returns the OSClockid constant's name, or its numeric form when the value is not a known constant.

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
)

func (Perm) String added in v0.17.0

func (e Perm) String() string

String returns the Perm constant's name, or its numeric form when the value is not a known constant.

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.

type QosClass added in v0.17.0

type QosClass uint32
const (
	QosClassUserInteractive QosClass = 33
	QosClassUserInitiated   QosClass = 25
	QosClassDefault         QosClass = 21
	QosClassUtility         QosClass = 17
	QosClassBackground      QosClass = 9
	QosClassUnspecified     QosClass = 0
)

func (QosClass) String added in v0.17.0

func (e QosClass) String() string

String returns the QosClass constant's name, or its numeric form when the value is not a known constant.

type Tag added in v0.17.0

type Tag int32
const (
	TagUndefinedTag  Tag = 0
	TagExtendedAllow Tag = 1
	TagExtendedDeny  Tag = 2
)

func (Tag) String added in v0.17.0

func (e Tag) String() string

String returns the Tag constant's name, or its numeric form when the value is not a known constant.

type Type added in v0.17.0

type Type int32
const (
	TypeExtended Type = 256
	TypeAccess   Type = 0
	TypeDefault  Type = 1
	TypeAfs      Type = 2
	TypeCoda     Type = 3
	TypeNtfs     Type = 4
	TypeNwfs     Type = 5
)

func (Type) String added in v0.17.0

func (e Type) String() string

String returns the Type constant's name, or its numeric form when the value is not a known constant.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL