go-billy icon indicating copy to clipboard operation
go-billy copied to clipboard

Make file interface a bit more interoperable

Open c4milo opened this issue 5 years ago • 1 comments

Even though, Readdir is not needed within go-git.

c4milo avatar Aug 05 '20 16:08 c4milo

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.

tie avatar Aug 17 '20 23:08 tie