Comparator for files. More...
#include <juce_File.h>
Public Member Functions | |
NaturalFileComparator (bool shouldPutFoldersFirst) noexcept | |
int | compareElements (const File &firstFile, const File &secondFile) const |
Public Attributes | |
bool | foldersFirst |
Comparator for files.
|
noexcept |
int File::NaturalFileComparator::compareElements | ( | const File & | firstFile, |
const File & | secondFile ) const |
References String::compareNatural(), File::getFullPathName(), and File::isDirectory().
bool File::NaturalFileComparator::foldersFirst |