summaryrefslogtreecommitdiffstats
path: root/src/dir.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-10-17 11:43:43 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-10-17 12:33:39 -0400
commit332f38aff0e6b7bc1a3a648eb66437d2d043ad21 (patch)
treead773f27729262bff9b07314f11e080a9bb544c8 /src/dir.h
parent3ac3bee7b0d9c9be693415206efa664bf4a7d4a7 (diff)
downloadbfs-332f38aff0e6b7bc1a3a648eb66437d2d043ad21.tar.xz
dir: New flag to control whiteout visibility
Diffstat (limited to 'src/dir.h')
-rw-r--r--src/dir.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dir.h b/src/dir.h
index 7e0cbba..b11d454 100644
--- a/src/dir.h
+++ b/src/dir.h
@@ -90,8 +90,10 @@ void bfs_dir_arena(struct arena *arena);
* bfs_opendir() flags.
*/
enum bfs_dir_flags {
+ /** Include whiteouts in the results. */
+ BFS_DIR_WHITEOUTS = 1 << 0,
/** @internal Start of private flags. */
- BFS_DIR_PRIVATE = 1 << 0,
+ BFS_DIR_PRIVATE = 1 << 1,
};
/**