mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
parent
51d5b2fe06
commit
688c17752f
2 changed files with 4 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
|
||||
#include "juce_AppConfig.h"
|
||||
#include "../../../juce_amalgamated.h"
|
||||
using juce::uint32;
|
||||
using JUCE_NAMESPACE::uint32;
|
||||
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue