The WalkDir function in the standard library filepath package is generally more efficient than Walk, as stats are optional on walked entries.
It would be nice to also have WalkDir supported so that existing code using WalkDir could adopt afero just as easily as codebases with Walk usage.
The WalkDir function in the standard library
filepathpackage is generally more efficient than Walk, as stats are optional on walked entries.It would be nice to also have
WalkDirsupported so that existing code usingWalkDircould adoptaferojust as easily as codebases withWalkusage.