package store import "time" // RevisionPruneEstimate describes revisions and storage that would be removed by prune. type RevisionPruneEstimate struct { RetentionMinutes int `json:"retention_minutes"` CutoffAt time.Time `json:"cutoff_at"` RevisionCount int `json:"revision_count"` PrefixRowCount int `json:"prefix_row_count"` OrphanSnapshotCount int `json:"orphan_snapshot_count"` BytesEstimate int64 `json:"bytes_estimate"` } // RevisionPruneResult is the outcome of a revision prune run. type RevisionPruneResult struct { DeletedRevisions int `json:"deleted_revisions"` DeletedPrefixSnapshots int `json:"deleted_prefix_snapshots"` DeletedPrefixRows int `json:"deleted_prefix_rows"` BytesEstimate int64 `json:"bytes_estimate"` }