| 120 | } |
| 121 | |
| 122 | void Transcoder::RemoveTempTranscodeFiles(Context& context) { |
| 123 | iterateTranscodeCache(context, [](fs::path p) { |
| 124 | if (p.extension().u8string() == ".tmp") { |
| 125 | std::error_code ec; |
| 126 | fs::remove(p, ec); |
| 127 | } |
| 128 | }); |
| 129 | } |
| 130 | |
| 131 | void Transcoder::PruneTranscodeCache(Context& context) { |
| 132 | std::map<time_t, fs::path> sorted; |
nothing calls this directly
no test coverage detected