From: Junio C Hamano Date: Wed, 18 May 2022 18:09:10 GMT Subject: Re: [PATCH v2 13/15] dir-iterator: option to iterate dirs in pre-order Message-ID: In-Reply-To: <016201d86adf$5a4e1eb0$0eea5c10$@nexbridge.com> writes: > Could this be a fallback position where nftw() is not available? I am not > how broadly nftw() is supported but it appears to do what you are looking > for. Yeah, nftw() sounds like a better approach than what we have been doing for the past decade by writing our own iterator.