mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
842e5de551
In order to allow the python interface code to perform actions on each node in the tree without creating python-specific interfaces in the generic Rust code, add a method of iterating over the tree, executing a closure at each file. Use this to implement the methods that give iterators over the filenames in the tree. This performs better than the get_first/get_next-style iterators. Differential Revision: https://phab.mercurial-scm.org/D1403 |
||
---|---|---|
.. | ||
.cargo | ||
src | ||
Cargo.lock | ||
Cargo.toml |