Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is a struct that manages the pruning of old versions of the SC and SS.
func NewManager ¶
func NewManager(scPruner store.Pruner, scPruningOption *store.PruningOption) *Manager
NewManager creates a new Pruning Manager.
func (*Manager) PausePruning ¶
func (m *Manager) PausePruning()
func (*Manager) Prune ¶
Prune prunes the SC and SS to the provided version.
NOTE: It can be called outside the store manually.
func (*Manager) ResumePruning ¶
Click to show internal directories.
Click to hide internal directories.