summaryrefslogtreecommitdiffstats
path: root/bftw.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-04-15 14:34:35 -0400
committerTavian Barnes <tavianator@tavianator.com>2022-04-15 14:34:35 -0400
commitacf934993a8112023f111ae1dfedc90f40e1d496 (patch)
tree71498aed03fb8a0f0a225fa29a3aa349e7bcc455 /bftw.h
parentf12551285e1be84c586f1697a7f864b155ba5706 (diff)
downloadbfs-acf934993a8112023f111ae1dfedc90f40e1d496.tar.xz
bftw: New BFTW_BUFFER flag
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 619d2a3..c458e1b 100644
--- a/bftw.h
+++ b/bftw.h
@@ -167,6 +167,8 @@ enum bftw_flags {
BFTW_PRUNE_MOUNTS = 1 << 7,
/** Sort directory entries before processing them. */
BFTW_SORT = 1 << 8,
+ /** Read each directory into memory before processing its children. */
+ BFTW_BUFFER = 1 << 9,
};
/**