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

Method GetMiddle

Src/ProjectFile.cpp:306–311  ·  view source on GitHub ↗

* @brief Returns middle path. * @param [out] pReadOnly true if readonly was specified for path. */

Source from the content-addressed store, hash-verified

304 * @param [out] pReadOnly true if readonly was specified for path.
305 */
306String ProjectFileItem::GetMiddle(bool * pReadOnly /*= nullptr*/) const
307{
308 if (pReadOnly != nullptr)
309 *pReadOnly = m_bMiddleReadOnly;
310 return m_paths.GetMiddle();
311}
312
313/**
314 * @brief Set middle path, returns old middle path.

Callers 11

ShowIdenticalMessageMethod · 0.45
charactersMethod · 0.45
SaveMethod · 0.45
OnFileSaveAsMiddleMethod · 0.45
PromptAndSaveIfNeededMethod · 0.45
PromptAndSaveIfNeededMethod · 0.45
GetMiddlePathMethod · 0.45
GetNormalizedMiddleMethod · 0.45
PromptAndSaveIfNeededMethod · 0.45
SetRootPathsMethod · 0.45
GenerateXmlHeaderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected