()
| 406 | } |
| 407 | |
| 408 | func (this *SQLiteFileListDB) CleanAll() error { |
| 409 | if !this.isReady { |
| 410 | return nil |
| 411 | } |
| 412 | |
| 413 | _, err := this.deleteAllStmt.Exec() |
| 414 | if err != nil { |
| 415 | return this.WrapError(err) |
| 416 | } |
| 417 | |
| 418 | this.hashMap.Clean() |
| 419 | |
| 420 | return nil |
| 421 | } |
| 422 | |
| 423 | func (this *SQLiteFileListDB) Close() error { |
| 424 | if this.isClosed { |