File Resource Types

Possible values for the kCFURLFileResourceTypeKey key.

Topics

Constants

kCFURLFileResourceTypeBlockSpecial

The resource is a block special file.

kCFURLFileResourceTypeCharacterSpecial

The resource is a character special file.

kCFURLFileResourceTypeDirectory

The resource is a directory.

kCFURLFileResourceTypeNamedPipe

The resource is a named pipe.

kCFURLFileResourceTypeRegular

The resource is a regular file.

kCFURLFileResourceTypeSocket

The resource is a socket.

kCFURLFileResourceTypeSymbolicLink

The resource is a symbolic link.

kCFURLFileResourceTypeUnknown

The resource’s type is unknown.

See Also

File System Constants

Common File System Resource Keys

Keys that are applicable to file system URLs.

File Property Keys

Keys that apply to properties of files.

iCloud Constants

These constants can be used to determining whether a file is stored in the cloud and to obtain information about its status.

Volume Property Keys

Keys that apply to volumes.

CFError userInfo Dictionary Keys

Keys in the userInfo dictionary of a CFError object when certain CFURL functions return an error.