blob: 722238c67be9e9648c93c19c49d52ba61ec2a851 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#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);
}
|