aboutsummaryrefslogtreecommitdiffstats
path: root/repository/localstorage_billy.go
blob: ab3909c99e29d985afb118326181ececd7f0ea2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)
}