use crate::foundation::id;
#[derive(Debug)]
pub enum NSURLFileResource {
NamedPipe,
CharacterSpecial,
Directory,
BlockSpecial,
Regular,
SymbolicLink,
Socket,
Unknown
}
#[derive(Debug)]
pub enum NSUbiquitousItemDownloadingStatus {
Current,
Downloaded,
NotDownloaded
}
#[derive(Debug)]
pub enum NSURLResourceKey {
IsApplication,
IsScriptable,
IsDirectory,
ParentDirectoryURL,
FileAllocatedSize,
FileProtection,
FileProtectionType,
FileResourceIdentifier,
FileResourceType(NSURLFileResource),
FileSecurity,
FileSize,
IsAliasFile,
IsPackage,
IsRegularFile,
PreferredIOBlockSize,
TotalFileAllocatedSize,
TotalFileSize,
VolumeAvailableCapacity,
VolumeAvailableCapacityForImportantUsage,
VolumeAvailableCapacityForOpportunisticUsage,
VolumeTotalCapacity,
VolumeIsAutomounted,
VolumeIsBrowsable,
VolumeIsEjectable,
VolumeIsEncrypted,
VolumeIsInternal,
VolumeIsJournaling,
VolumeIsLocal,
VolumeIsReadOnly,
VolumeIsRemovable,
VolumeIsRootFileSystem,
IsMountTrigger,
IsVolume,
VolumeCreationDate,
VolumeIdentifier,
VolumeLocalizedFormatDescription,
VolumeLocalizedName,
VolumeMaximumFileSize,
VolumeName,
VolumeResourceCount,
VolumeSupportsAccessPermissions,
VolumeSupportsAdvisoryFileLocking,
VolumeSupportsCasePreservedNames,
VolumeSupportsCaseSensitiveNames,
VolumeSupportsCompression,
VolumeSupportsExclusiveRenaming,
VolumeSupportsExtendedSecurity,
VolumeSupportsFileCloning,
VolumeSupportsHardLinks,
VolumeSupportsImmutableFiles,
VolumeSupportsJournaling,
VolumeSupportsPersistentIDs,
VolumeSupportsRenaming,
VolumeSupportsRootDirectoryDates,
VolumeSupportsSparseFiles,
VolumeSupportsSwapRenaming,
VolumeSupportsSymbolicLinks,
VolumeSupportsVolumeSizes,
VolumeSupportsZeroRuns,
VolumeURLForRemounting,
VolumeURL,
VolumeUUIDString,
IsUbiquitousItem,
UbiquitousSharedItemMostRecentEditorNameComponents,
UbiquitousItemDownloadRequested,
UbiquitousItemIsDownloading,
UbiquitousItemDownloadingError,
UbiquitousItemDownloadingStatus(NSUbiquitousItemDownloadingStatus),
UbiquitousItemIsUploaded,
UbiquitousItemIsUploading,
UbiquitousItemUploadingError,
UbiquitousItemHasUnresolvedConflicts,
UbiquitousItemContainerDisplayName,
UbiquitousSharedItemOwnerNameComponents,
UbiquitousSharedItemCurrentUserPermissions,
UbiquitousSharedItemCurrentUserRole,
UbiquitousItemIsShared,
UbiquitousSharedItemRole,
UbiquitousSharedItemPermissions,
ThumbnailDictionaryItem,
KeysOfUnsetValues,
QuarantineProperties,
AddedToDirectoryDate,
AttributeModificationDate,
ContentAccessDate,
ContentModificationDate,
CreationDate,
CustomIcon,
DocumentIdentifier,
EffectiveIcon,
GenerationIdentifier,
HasHiddenExtension,
IsExcludedFromBackup,
IsExecutable,
IsHidden,
IsReadable,
IsSymbolicLink,
IsSystemImmutable,
IsUserImmutable,
IsWritable,
LabelColor,
LabelNumber,
LinkCount,
LocalizedLabel,
LocalizedName,
LocalizedTypeDescription,
Name,
Path,
CanonicalPath,
TagNames,
ContentType,
FileContentIdentifier,
IsPurgeable,
IsSparse,
MayHaveExtendedAttributes,
MayShareFileContent,
UbiquitousItemIsExcludedFromSync,
VolumeSupportsFileProtection
}