| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Fixes #2.
|
|
|
|
| |
Fixes #4.
|
|
|
|
|
| |
Like nftw()'s struct FTW. level is needed to implement -mindepth/
-maxdepth.
|
| |
|
|
|