Restructure backend
This commit is contained in:
parent
0e1045301a
commit
661c1e9aa1
6 changed files with 95 additions and 28 deletions
|
@ -328,3 +328,8 @@ func (b *Local) Version() uint {
|
|||
func (b *Local) Close() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Delete removes the repository and all files.
|
||||
func (b *Local) Delete() error {
|
||||
return os.RemoveAll(b.p)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue