| 910 | } |
| 911 | |
| 912 | uint FileSystemManager::getFileAttributes(QString fileName) |
| 913 | { |
| 914 | WIN32_FILE_ATTRIBUTE_DATA fileAttributes = { 0 }; |
| 915 | |
| 916 | // Get the file attributes of this file |
| 917 | GetFileAttributesEx((LPCTSTR) fileName.utf16(), GetFileExInfoStandard, &fileAttributes); |
| 918 | |
| 919 | return (uint) fileAttributes.dwFileAttributes; |
| 920 | } |
| 921 | |
| 922 | QString FileSystemManager::getFileExtension(QString filePath) |
| 923 | { |
no outgoing calls
no test coverage detected