| 239 | return true; |
| 240 | } |
| 241 | bool beginFile(const std::string& relPath, uint32_t sizeHint) override |
| 242 | { |
| 243 | ensureDirectoryPath(destRoot, relPath); |
| 244 | std::u16string outPath = destRoot + StringUtils::UTF8toUTF16(relPath.c_str()); |
| 245 | output.emplace(Archive::sdmc(), outPath, FS_OPEN_WRITE, sizeHint); |
| 246 | return output->good(); |
| 247 | } |
| 248 | bool writeFile(const void* data, size_t n) override |
| 249 | { |
| 250 | output->write(data, (u32)n); |
nothing calls this directly
no test coverage detected