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

Add support for Readdir in File interface

Open c4milo opened this issue 5 years ago • 1 comments

I'm trying to use go-git for a tool but I'm getting stuck with the lack of interoperability of go-billy. Particularly, I need to cast billy.File to another custom File interface we have that implements Readdir but billy.File does not. How reasonable is to get this added to go-billy?

Thanks!

c4milo avatar Aug 05 '20 16:08 c4milo

I sent https://github.com/go-git/go-billy/pull/6 addressing this, I hope it makes sense for you to add it.

c4milo avatar Aug 05 '20 17:08 c4milo