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

Function GetPathOnly

Src/paths.cpp:730–736  ·  view source on GitHub ↗

* @brief Return path component from full path. * @param [in] fullpath Full path to split. * @return Path without filename. */

Source from the content-addressed store, hash-verified

728 * @return Path without filename.
729 */
730String GetPathOnly(const String& fullpath)
731{
732 if (fullpath.empty()) return _T("");
733 String spath;
734 SplitFilename(fullpath, &spath, 0, 0);
735 return spath;
736}
737
738bool IsURL(const String& abspath)
739{

Callers 9

RenameOnSameDirFunction · 0.85
SelectFileOrFolderFunction · 0.85
SaveToXMLFunction · 0.85
GetLastModifiedFunction · 0.85
WritePluginsInLogFileMethod · 0.85
OnPathButtonMethod · 0.85
GetProgPathFunction · 0.85
CreatePatchMethod · 0.85
SetFileFunction · 0.85

Calls 2

SplitFilenameFunction · 0.85
emptyMethod · 0.45

Tested by 1

SetFileFunction · 0.68