Skip a file if it's hidden and the flag is YES

This commit is contained in:
Gregory John Casamento 2019-08-05 15:46:29 -04:00
parent 69168d3661
commit 904604b448

View file

@ -2698,7 +2698,11 @@ static inline void gsedRelease(GSEnumeratedDirectory X)
#else
const char *dirname = NULL;
#endif
// Skip it if it is hidden and flag is yes...
if ([[dir.path lastPathComponent] hasPrefix: @"."] && _flags.skipHidden == YES)
{
continue;
}
#ifdef __ANDROID__
if (dir.assetDir)
{