| 32 | } |
| 33 | |
| 34 | Recorder::Recorder(CopyOperation op) |
| 35 | { |
| 36 | std::filesystem::create_directory(GetLocalDataFolder()); |
| 37 | auto const filename = GetRecordFilePath(op); |
| 38 | Registry{}.write(L"record", filename); |
| 39 | m_fs = _wfopen(filename.data(), L"wb"); |
| 40 | if (!m_fs) |
| 41 | throw std::runtime_error{ "Cannot open file" }; |
| 42 | } |
| 43 | |
| 44 | Recorder& Recorder::operator<<(ShellItem& item) |
| 45 | { |
nothing calls this directly
no test coverage detected