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

Function GetPathDisk

Libraries/unrar/pathfn.cpp:161–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159
160
161int GetPathDisk(const wchar *Path)
162{
163 if (IsDriveLetter(Path))
164 return etoupperw(*Path)-'A';
165 else
166 return -1;
167}
168
169
170void AddEndSlash(wchar *Path,size_t MaxLength)

Callers

nothing calls this directly

Calls 2

IsDriveLetterFunction · 0.85
etoupperwFunction · 0.85

Tested by

no test coverage detected