| 119 | } |
| 120 | |
| 121 | bool MediaFileSystem::writeFile(const std::filesystem::path & name, const void* data, size_t size) |
| 122 | { |
| 123 | for (const auto& fs : m_FileSystems) |
| 124 | if (fs->writeFile(name, data, size)) |
| 125 | return true; |
| 126 | return false; |
| 127 | } |
| 128 | |
| 129 | int MediaFileSystem::enumerateFiles(const std::filesystem::path& path, const std::vector<std::string>& extensions, enumerate_callback_t callback, bool allowDuplicates) |
| 130 | { |
no outgoing calls
no test coverage detected