summaryrefslogtreecommitdiffstats
path: root/tree.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-03-07 11:25:01 -0800
committerKaz Kylheku <kaz@kylheku.com>2020-03-07 11:25:01 -0800
commitbd62b2d0a8bbdf31166f9f39f391f5e2c8e10aa1 (patch)
tree73e6f42db6de7705c8b3cd9b423cbf9cf46c1ff8 /tree.h
parent5241d6f7b1fe64936204d4ba26a92f3f87a2a694 (diff)
downloadtxr-bd62b2d0a8bbdf31166f9f39f391f5e2c8e10aa1.tar.gz
txr-bd62b2d0a8bbdf31166f9f39f391f5e2c8e10aa1.tar.bz2
txr-bd62b2d0a8bbdf31166f9f39f391f5e2c8e10aa1.zip
tags: add --exclude option.
* tags.tl (tags-opts): Cumulative exlude option added. (ftw-actionretval, ftw-continue, ftw-skip-subtree): These variables are missing if we are not on Glibc, so we define them as zero. These definitions help us take advantage of FTW_ACTIONRETVAL to skip recursing into exluded subtrees. (static-when): New macro. (toplevel): Implement exclude option. Skipping directories on platforms whose nftw function doesn't have FTW_ACTIONRETVAL is simulated by keeping a dynamic skip list, which is intelligently purged to keep it short.
Diffstat (limited to 'tree.h')
0 files changed, 0 insertions, 0 deletions