mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-17 13:10:17 +03:00
17 lines
302 B
Go
17 lines
302 B
Go
package repository
|
|
|
|
import (
|
|
"github.com/go-git/go-billy/v5"
|
|
"github.com/go-git/go-billy/v5/util"
|
|
)
|
|
|
|
var _ LocalStorage = &billyLocalStorage{}
|
|
|
|
type billyLocalStorage struct {
|
|
billy.Filesystem
|
|
}
|
|
|
|
func (b billyLocalStorage) RemoveAll(path string) error {
|
|
return util.RemoveAll(b.Filesystem, path)
|
|
}
|