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

Method SetMiddle

Src/ProjectFile.cpp:318–325  ·  view source on GitHub ↗

* @brief Set middle path, returns old middle path. * @param [in] sMiddle Middle path. * @param [in] bReadOnly Will path be recorded read-only? */

Source from the content-addressed store, hash-verified

316 * @param [in] bReadOnly Will path be recorded read-only?
317 */
318void ProjectFileItem::SetMiddle(const String& sMiddle, const bool * pReadOnly /*= nullptr*/)
319{
320 m_paths.SetMiddle(sMiddle, false);
321 if (pReadOnly != nullptr)
322 m_bMiddleReadOnly = *pReadOnly;
323
324 return;
325}
326
327/**
328 * @brief Returns right path.

Callers 9

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

Calls

no outgoing calls

Tested by 5

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