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

Function IsWildcard

Libraries/unrar/pathfn.cpp:121–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119
120
121bool IsWildcard(const wchar *Str)
122{
123 if (Str==NULL)
124 return false;
125#ifdef _WIN_ALL
126 // Not treat the special NTFS \\?\d: path prefix as a wildcard.
127 if (Str[0]=='\\' && Str[1]=='\\' && Str[2]=='?' && Str[3]=='\\')
128 Str+=4;
129#endif
130 return wcspbrk(Str,L"*?")!=NULL;
131}
132
133
134bool IsPathDiv(int Ch)

Callers 7

ParseArgMethod · 0.85
ProcessSwitchMethod · 0.85
CmpNameFunction · 0.85
FindProcMethod · 0.85
WildFileExistFunction · 0.85
FastFindMethod · 0.85
ExtractCurrentFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected