sapling/eden/scm/lib/workingcopy
Durham Goode a13fcd4910 workingcopy: support returning directories from the walker
Summary:
Purge needs to be able to see what directories the walker traversed, so
it can delete them if they are empty. Instead of having the walker call
match.traversedir (which it seems like a bizarre pattern to use the matcher as a
holder for a non-matching related function), let's have the walker return an
enum and have an option to return directories.

At the python layer we then translate this into match.traversedir calls, but we
can clean that up later.

Reviewed By: quark-zju

Differential Revision: D19543795

fbshipit-source-id: cc51c86c91799d3df2c65d25a7b6cfe810206d0a
2020-03-16 10:15:26 -07:00
..
src workingcopy: support returning directories from the walker 2020-03-16 10:15:26 -07:00
Cargo.toml workingcopy: add error handling and reporting to rust walker 2020-01-13 15:26:30 -08:00