diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-07-29 23:01:56 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-07-29 23:01:56 -0400 |
commit | 6a4c2677075adca143fa8501096a2a59499503b5 (patch) | |
tree | dae3b476312d0ff46c9c8ded3949752861f9e3df /bftw.h | |
parent | f7b03c0695b313a0ddd527d4bbd6c50c010bd7e4 (diff) | |
download | bfs-6a4c2677075adca143fa8501096a2a59499503b5.tar.xz |
bftw: Make some flag names more explicit
Diffstat (limited to 'bftw.h')
-rw-r--r-- | bftw.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -177,17 +177,17 @@ enum bftw_flags { /** Attempt to recover from encountered errors. */ BFTW_RECOVER = 1 << 1, /** Visit directories in post-order as well as pre-order. */ - BFTW_DEPTH = 1 << 2, + BFTW_POST_ORDER = 1 << 2, /** If the initial path is a symbolic link, follow it. */ - BFTW_COMFOLLOW = 1 << 3, + BFTW_FOLLOW_ROOTS = 1 << 3, /** Follow all symbolic links. */ - BFTW_LOGICAL = 1 << 4, + BFTW_FOLLOW_ALL = 1 << 4, /** Detect directory cycles. */ BFTW_DETECT_CYCLES = 1 << 5, /** Skip mount points and their descendents. */ - BFTW_MOUNT = 1 << 6, + BFTW_SKIP_MOUNTS = 1 << 6, /** Skip the descendents of mount points. */ - BFTW_XDEV = 1 << 7, + BFTW_PRUNE_MOUNTS = 1 << 7, /** Sort directory entries before processing them. */ BFTW_SORT = 1 << 8, }; |