--------------------------------- Entry::GetExtension Get the extension of an entry, if it has one
| 91 | // Get the extension of an entry, if it has one |
| 92 | // |
| 93 | std::string Entry::GetExtension() |
| 94 | { |
| 95 | if(GetType() == EntryType::ENTRY_FILE) |
| 96 | { |
| 97 | return FileUtil::ExtractExtension(m_Filename); |
| 98 | } |
| 99 | |
| 100 | return std::string(""); |
| 101 | } |
| 102 | |
| 103 | |
| 104 | //====================== |
no test coverage detected