|
| |
108 |
108 |
TSmartPath path = PathFromWString(strSrcPath); |
|
| |
109 |
109 |
if(m_bUseMask) |
|
| |
110 |
110 |
{ |
|
| |
111 |
|
if(!m_spaMask.Get().MatchesAny(path.GetFileName().ToString())) |
|
| |
|
111 |
if(!m_spaMask.Get().MatchesAny(path)) |
|
| |
112 |
112 |
return false; |
|
| |
113 |
113 |
} |
|
| |
114 |
114 |
if(m_bUseExcludeMask) |
|
| |
115 |
115 |
{ |
|
| |
116 |
|
if(m_spaExcludeMask.Get().MatchesAny(path.GetFileName().ToString())) |
|
| |
|
116 |
if(m_spaExcludeMask.Get().MatchesAny(path)) |
|
| |
117 |
117 |
return false; |
|
| |
118 |
118 |
} |
|
| |
119 |
119 |
if(m_bUseErrorType) |