MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / IsFullPath

Function IsFullPath

Libraries/unrar/pathfn.cpp:564–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562
563
564bool IsFullPath(const wchar *Path)
565{
566/*
567 wchar PathOnly[NM];
568 GetFilePath(Path,PathOnly,ASIZE(PathOnly));
569 if (IsWildcard(PathOnly))
570 return true;
571*/
572#if defined(_WIN_ALL) || defined(_EMX)
573 return Path[0]=='\\' && Path[1]=='\\' || IsDriveLetter(Path) && IsPathDiv(Path[2]);
574#else
575 return IsPathDiv(Path[0]);
576#endif
577}
578
579
580bool IsFullRootPath(const wchar *Path)

Callers 3

ConvertNameToFullFunction · 0.70
IsFullRootPathFunction · 0.70
GetWinLongPathFunction · 0.70

Calls 2

IsDriveLetterFunction · 0.85
IsPathDivFunction · 0.85

Tested by

no test coverage detected