Re: [GSoC][PATCH 2/2] clone: use dir-iterator to avoid explicit dir traversal
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Feb 16, 2019, 06:41 UTC
- Message-ID
- <CAP8UFD3BvcdfbmYTsAprx0Au_AN2VUbuQd3LA0i9TBz0N4kfYQ@mail.gmail.com>
- In-Reply-To
- <20190215154913.18800-3-matheus.bernardino@usp.br>
On Fri, Feb 15, 2019 at 5:39 PM Matheus Tavares <matheus.bernardino@usp.br> wrote:
> > Replace usage of opendir/readdir/closedir API to traverse directories > recursively, at copy_or_link_directory function, by the dir-iterator > API.
You may want to add that this simplifies the code and avoid recursive calls of copy_or_link_directory().
Otherwise the patch looks good to me. Thanks.