mirror of
https://github.com/taigrr/bitcask
synced 2025-01-18 04:03:17 -08:00
Get space that can be reclaimed (#189)
* get reclaimable space added * import order fix Co-authored-by: yash <yash.chandra@grabpay.com>
This commit is contained in:
@@ -7,7 +7,8 @@ import (
|
||||
)
|
||||
|
||||
type MetaData struct {
|
||||
IndexUpToDate bool `json:"index_up_to_date"`
|
||||
IndexUpToDate bool `json:"index_up_to_date"`
|
||||
ReclaimableSpace int64 `json:"reclaimable_space"`
|
||||
}
|
||||
|
||||
func (m *MetaData) Save(path string, mode os.FileMode) error {
|
||||
|
||||
Reference in New Issue
Block a user