mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Update cmd/geth/dbcmd.go
Co-authored-by: Martin HS <martin@swende.se>
This commit is contained in:
parent
f2ccd41c37
commit
98247fe4ae
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ func removeDB(ctx *cli.Context) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// removeFolder deletes all the files inside the folder unexcept the subfolders.
|
||||
// removeFolder deletes all files (not folders) inside the directory 'dir' (but not files in subfolders).
|
||||
func removeFolder(dir string) {
|
||||
filepath.Walk(dir, func(path string, info os.FileInfo, err error) error {
|
||||
// If we're at the top level folder, recurse into
|
||||
|
|
|
|||
Loading…
Reference in a new issue