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

Method SetRight

Src/ProjectFile.cpp:344–349  ·  view source on GitHub ↗

* @brief Set right path, returns old right path. * @param [in] sRight Right path. * @param [in] bReadOnly Will path be recorded read-only? */

Source from the content-addressed store, hash-verified

342 * @param [in] bReadOnly Will path be recorded read-only?
343 */
344void ProjectFileItem::SetRight(const String& sRight, const bool * pReadOnly /*= nullptr*/)
345{
346 m_paths.SetRight(sRight, false);
347 if (pReadOnly != nullptr)
348 m_bRightReadOnly = *pReadOnly;
349}
350
351/**
352 * @brief Returns left and right paths and recursive from project file

Callers 13

GetOpenTwoItemsFunction · 0.45
GetOpenThreeItemsFunction · 0.45
OnSaveProjectMethod · 0.45
charactersMethod · 0.45
OnDropFilesMethod · 0.45
SetRootPathsMethod · 0.45
TEST_FFunction · 0.45
SetUpMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 6

TEST_FFunction · 0.36
SetUpMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
SetUpMethod · 0.36