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

Function IsDir

Libraries/unrar/filefn.cpp:218–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216
217
218bool IsDir(uint Attr)
219{
220#ifdef _WIN_ALL
221 return Attr!=0xffffffff && (Attr & FILE_ATTRIBUTE_DIRECTORY)!=0;
222#endif
223#if defined(_UNIX)
224 return (Attr & 0xF000)==0x4000;
225#endif
226}
227
228
229bool IsUnreadable(uint Attr)

Callers 4

ProcessCommandMethod · 0.85
NextMethod · 0.85
FastFindMethod · 0.85
ExtrCreateDirMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected