summaryrefslogtreecommitdiffstats
path: root/bftw.h
Commit message (Collapse)AuthorAgeFilesLines
* Re-license under the BSD Zero Clause LicenseTavian Barnes2017-07-271-10/+15
|
* Release 1.01.0Tavian Barnes2017-04-241-1/+1
|
* Move bftw_typeflag converters to util.cTavian Barnes2017-04-081-5/+0
|
* Add support for -x?type with multiple typesTavian Barnes2017-02-081-12/+17
| | | | This functionality is already part of GNU findutils git.
* Implement -printf/-fprintfTavian Barnes2017-02-051-0/+2
| | | | | Based on a patch by Fangrui Song <i@maskray.me>. Closes #16.
* Update some copyright dates.Tavian Barnes2016-11-241-1/+1
|
* bftw: Make bftw_flags more similar to fts() options.Tavian Barnes2016-11-211-9/+7
|
* bftw: Add support for some exotic file types, where available.Tavian Barnes2016-10-021-0/+6
|
* Implement -mount/-xdev.Tavian Barnes2016-02-141-0/+2
|
* Follow links if appropriate in predicates.Tavian Barnes2016-02-131-0/+2
|
* Implement -L/-follow.Tavian Barnes2016-02-091-4/+10
|
* Implement -P and -H.Tavian Barnes2016-02-041-3/+5
|
* Don't use typedefs to avoid struct/enum tags.Tavian Barnes2016-02-041-12/+15
|
* Optimize -maxdepth in -depth mode.Tavian Barnes2015-09-261-1/+13
|
* Don't call stat() until absolutely necessary.Tavian Barnes2015-09-261-1/+1
| | | | | This way we only call stat() if we're actually pretty-printing the path, potentially saving lots of calls on paths that don't get printed.
* bftw() interface improvements:Tavian Barnes2015-09-261-50/+68
| | | | | | - Use enums instead of ints where it makes sense - Move the file path inside struct BFTW - Expose a fd and relative path for *at() calls
* Add -depth support.Tavian Barnes2015-09-081-0/+2
| | | | | | | The resulting order is fairly weird, as files are still returned in breadth-first order, but directories are returned in a backwards order based on when their reference counts drop to zero. But it's good enough for -delete support.
* Print the root file/directory too.Tavian Barnes2015-09-021-2/+2
|
* Add -type support.Tavian Barnes2015-08-301-6/+14
| | | | Fixes #2.
* Recover from errors in diropen().Tavian Barnes2015-07-251-1/+12
| | | | Fixes #4.
* bftw: New struct BFTW type to hold file attributes.Tavian Barnes2015-07-231-5/+17
| | | | | Like nftw()'s struct FTW. level is needed to implement -mindepth/ -maxdepth.
* bftw: Add flags parameter and BFTW_STAT flag.Tavian Barnes2015-06-181-2/+11
|
* Implement bftw().Tavian Barnes2015-06-141-0/+62