()
| 126 | } |
| 127 | |
| 128 | func (this *KVListFileStore) RemoveAllItems() error { |
| 129 | if !this.isReady() { |
| 130 | return nil |
| 131 | } |
| 132 | |
| 133 | return this.itemsTable.Truncate() |
| 134 | } |
| 135 | |
| 136 | func (this *KVListFileStore) PurgeItems(count int, callback func(hash string) error) (int, error) { |
| 137 | if !this.isReady() { |