MCPcopy Create free account
hub / github.com/WinMerge/winmerge / AddFiles

Method AddFiles

Src/PatchTool.cpp:45–53  ·  view source on GitHub ↗

* @brief Adds files to list for patching. * @param [in] file1 First file to add. * @param [in] file2 Second file to add. */

Source from the content-addressed store, hash-verified

43 * @param [in] file2 Second file to add.
44 */
45void CPatchTool::AddFiles(const String &file1, const String &file2)
46{
47 PATCHFILES tFiles;
48 tFiles.lfile = file1;
49 tFiles.rfile = file2;
50
51 // TODO: Read and add file's timestamps
52 m_fileList.push_back(tFiles);
53}
54
55/**
56 * @brief Add files with alternative paths.

Callers 2

OnToolsGeneratePatchMethod · 0.80
OnToolsGeneratePatchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected