On 06/01/2016 02:12 AM, David Turner wrote:
> On Mon, 2016-05-30 at 09:55 +0200, Michael Haggerty wrote:
>> +struct dir_iterator_level {
>> +int initialized;
>> +
>> +DIR *dir;
>> +
>> +/*
>> + * The length of the directory part of refname at this level
>
>
> "refname"? Isn't
On Mon, 2016-05-30 at 09:55 +0200, Michael Haggerty wrote:
> +struct dir_iterator_level {
> + int initialized;
> +
> + DIR *dir;
> +
> + /*
> + * The length of the directory part of refname at this level
"refname"? Isn't this was for directories?
> + if
The iterator interface is modeled on that for references, though no
vtable is necessary because there is (so far?) only one type of
dir_iterator.
There are obviously a lot of features that could easily be added to this
class:
* Skip/include directory paths in the iteration
* Shallow/deep
3 matches
Mail list logo