diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2019-06-23 10:15:52 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2019-06-25 01:18:47 -0400 |
commit | 71d8077dca5e5c407dff934d549fcfea53f83ede (patch) | |
tree | e5394798abeee9a6bedfcfe85bc489a098c7c339 /bftw.h | |
parent | eb62240bf67690a63b3d17626408d15408b93d57 (diff) | |
download | bfs-71d8077dca5e5c407dff934d549fcfea53f83ede.tar.xz |
bftw: Remove BFTW_SKIP_SIBLINGS
It's not used by bfs, and it's difficult to support in all search
strategies.
Diffstat (limited to 'bftw.h')
-rw-r--r-- | bftw.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -150,10 +150,8 @@ enum bftw_typeflag bftw_typeflag(const struct BFTW *ftwbuf, enum bfs_stat_flag f enum bftw_action { /** Keep walking. */ BFTW_CONTINUE, - /** Skip this path's siblings. */ - BFTW_SKIP_SIBLINGS, /** Skip this path's children. */ - BFTW_SKIP_SUBTREE, + BFTW_PRUNE, /** Stop walking. */ BFTW_STOP, }; |