MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / Recorder

Method Recorder

FastCopyShellExtension/Recorder.cpp:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34Recorder::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
44Recorder& Recorder::operator<<(ShellItem& item)
45{

Callers

nothing calls this directly

Calls 3

writeMethod · 0.80
dataMethod · 0.80
GetLocalDataFolderFunction · 0.70

Tested by

no test coverage detected