mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-18 00:54:19 +00:00
This commit is contained in:
parent
51d5b2fe06
commit
688c17752f
2 changed files with 4 additions and 2 deletions
|
|
@ -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