_GetFileType
status_t _GetFileType(const entry_ref* file,
if (_GetFileType(ref, &appFileInfo, type) == B_OK
error = _GetFileType(ref, &nodeInfo, fileType);