blob: 73703d31f91e08c50a662371ff6bf88c0def8d4a (
plain) (
tree)
|
|
#include "iterator.h"
#include <cstring>
static int SortFTSENTByName(const FTSENT** a, const FTSENT** b) {
return strcmp((*a)->fts_name, (*b)->fts_name);
}
TDirIterator::TOptions& TDirIterator::TOptions::SetSortByName() noexcept {
return SetSortFunctor(SortFTSENTByName);
}
|