| 167 | } |
| 168 | |
| 169 | bool TarFile::folderExists(const std::filesystem::path& name) |
| 170 | { |
| 171 | std::string normalizedName = name.lexically_normal().relative_path().generic_string(); |
| 172 | |
| 173 | return m_Directories.find(normalizedName) != m_Directories.end(); |
| 174 | } |
| 175 | |
| 176 | bool TarFile::fileExists(const std::filesystem::path& name) |
| 177 | { |