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

Method SetLeft

Src/ProjectFile.cpp:295–300  ·  view source on GitHub ↗

* @brief Set left path, returns old left path. * @param [in] sLeft Left path. * @param [in] bReadOnly Will path be recorded read-only? */

Source from the content-addressed store, hash-verified

293 * @param [in] bReadOnly Will path be recorded read-only?
294 */
295void ProjectFileItem::SetLeft(const String& sLeft, const bool * pReadOnly /*= nullptr*/)
296{
297 m_paths.SetLeft(sLeft, false);
298 if (pReadOnly != nullptr)
299 m_bLeftReadOnly = *pReadOnly;
300}
301
302/**
303 * @brief Returns middle path.

Callers 11

GetOpenTwoItemsFunction · 0.45
GetOpenThreeItemsFunction · 0.45
OnSaveProjectMethod · 0.45
charactersMethod · 0.45
SetRootPathsMethod · 0.45
TEST_FFunction · 0.45
SetUpMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
SetUpMethod · 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