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

Function IsDriveLetter

Libraries/unrar/pathfn.cpp:154–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152
153
154bool IsDriveLetter(const wchar *Path)
155{
156 wchar Letter=etoupperw(Path[0]);
157 return Letter>='A' && Letter<='Z' && IsDriveDiv(Path[1]);
158}
159
160
161int GetPathDisk(const wchar *Path)

Callers 5

GetNextMaskMethod · 0.85
GetPathDiskFunction · 0.85
IsFullPathFunction · 0.85
GetPathRootFunction · 0.85
GetWinLongPathFunction · 0.85

Calls 2

etoupperwFunction · 0.85
IsDriveDivFunction · 0.85

Tested by

no test coverage detected