mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Skip a file if it's hidden and the flag is YES
This commit is contained in:
parent
69168d3661
commit
904604b448
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue