1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
jules 2008-07-31 21:12:38 +00:00
parent 51d5b2fe06
commit 688c17752f
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,5 @@
#include "juce_AppConfig.h"
#include "../../../juce_amalgamated.h"
using juce::uint32;
using JUCE_NAMESPACE::uint32;

View file

@ -69,8 +69,9 @@ static int addFile (const File& file,
static bool isHiddenFile (const File& f, const File& root)
{
return f.getFileName().endsWithIgnoreCase (T(".scc"))
|| f.getFileName() != T(".svn")
|| f.getFileName().startsWithChar (T('.'))
|| f.getSize() == 0
|| (f.getSize() == 0 && ! f.isDirectory())
|| (f.getParentDirectory() != root && isHiddenFile (f.getParentDirectory(), root));
}