go-billy
go-billy copied to clipboard
Make file interface a bit more interoperable
Even though, Readdir is not needed within go-git.
Looks like a breaking change since it modifies billy.File interface.
I’ve opened a similar PR #7 that adds billy.Stat function using optional interface pattern to call Stat on billy.File. This approach seems applicable here as well.