Skip to content

Commit

Permalink
Renamed delete method of data
Browse files Browse the repository at this point in the history
  • Loading branch information
bgokden committed Nov 14, 2020
1 parent 0223fa5 commit a5c445c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (dt *Data) Close() error {
}

// Delete currently deletes underlying data folder ignores errors.
func (dt *Data) Delete() error {
func (dt *Data) DeletePath() error {
dt.DB.Close()
os.RemoveAll(dt.DBPath)
return nil
Expand Down

0 comments on commit a5c445c

Please sign in to comment.