Function

NSHFSTypeOfFile

Returns a string encoding a file type.

Declaration

NSString * NSHFSTypeOfFile(NSString *fullFilePath);

Parameters

fullFilePath

The full absolute path of a file.

Return Value

A string that encodes fullFilePath‘s HFS file type, or nil if the operation was not successful

See Also

Working with HFS File Types

NSFileTypeForHFSTypeCode

Returns a string encoding a file type code.

NSHFSTypeCodeFromFileType

Returns a file type code.