Documentation ¶
Overview ¶
Package versioner implements common interfaces for file versioning and a simple default versioning scheme.
Index ¶
- Constants
- Variables
- type External
- type Interval
- type Simple
- type Staggered
- type Trashcan
- type Versioner
- func NewExternal(folderID, folderPath string, params map[string]string) Versioner
- func NewSimple(folderID, folderPath string, params map[string]string) Versioner
- func NewStaggered(folderID, folderPath string, params map[string]string) Versioner
- func NewTrashcan(folderID, folderPath string, params map[string]string) Versioner
Constants ¶
View Source
const ( TimeFormat = "20060102-150405" TimeGlob = "[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9][0-9][0-9]" // glob pattern matching TimeFormat )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Staggered ¶
type Staggered struct {
// contains filtered or unexported fields
}
type Trashcan ¶
type Trashcan struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.