Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultMaximumHistorySize = 10
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backup ¶ added in v1.2.0
type Backup struct {
Revisions []Revision `json:"revisions,omitempty"`
}
type History ¶ added in v1.2.0
type History string
func ComputeHistory ¶ added in v1.1.0
ComputeHistory takes the current history and appends a new entry If the history size is larger than the configured or default size, it will remove the oldest entry from the history
Click to show internal directories.
Click to hide internal directories.