summaryrefslogtreecommitdiffstats
path: root/bftw.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-03-21 11:48:06 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-03-21 12:05:14 -0400
commit352b9eaf4479d204c617c68744de9ba075078308 (patch)
treec67cb5e4389c9ae00e3e748cd1dd8002911f44f8 /bftw.h
parentaacf8aa796c3120ff65e3c0a2cbdddcf60c1777e (diff)
downloadbfs-352b9eaf4479d204c617c68744de9ba075078308.tar.xz
Implement -s flag from FreeBSD find to sort results
Diffstat (limited to 'bftw.h')
-rw-r--r--bftw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bftw.h b/bftw.h
index 06fdedb..c08544d 100644
--- a/bftw.h
+++ b/bftw.h
@@ -188,6 +188,8 @@ enum bftw_flags {
BFTW_MOUNT = 1 << 6,
/** Skip the descendents of mount points. */
BFTW_XDEV = 1 << 7,
+ /** Sort directory entries before processing them. */
+ BFTW_SORT = 1 << 8,
};
/**