Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement -P and -H. | Tavian Barnes | 2016-02-04 | 1 | -3/+5 |
| | |||||
* | Don't use typedefs to avoid struct/enum tags. | Tavian Barnes | 2016-02-04 | 1 | -12/+15 |
| | |||||
* | Optimize -maxdepth in -depth mode. | Tavian Barnes | 2015-09-26 | 1 | -1/+13 |
| | |||||
* | Don't call stat() until absolutely necessary. | Tavian Barnes | 2015-09-26 | 1 | -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 Barnes | 2015-09-26 | 1 | -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 Barnes | 2015-09-08 | 1 | -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 Barnes | 2015-09-02 | 1 | -2/+2 |
| | |||||
* | Add -type support. | Tavian Barnes | 2015-08-30 | 1 | -6/+14 |
| | | | | Fixes #2. | ||||
* | Recover from errors in diropen(). | Tavian Barnes | 2015-07-25 | 1 | -1/+12 |
| | | | | Fixes #4. | ||||
* | bftw: New struct BFTW type to hold file attributes. | Tavian Barnes | 2015-07-23 | 1 | -5/+17 |
| | | | | | Like nftw()'s struct FTW. level is needed to implement -mindepth/ -maxdepth. | ||||
* | bftw: Add flags parameter and BFTW_STAT flag. | Tavian Barnes | 2015-06-18 | 1 | -2/+11 |
| | |||||
* | Implement bftw(). | Tavian Barnes | 2015-06-14 | 1 | -0/+62 |