Documentation
¶
Overview ¶
Package versioner implements common interfaces for file versioning and a simple default versioning scheme.
Index ¶
Constants ¶
View Source
const (
TimeFormat = "20060102-150405"
)
Variables ¶
View Source
var ErrRestorationNotSupported = fmt.Errorf("version restoration not supported with the current versioner")
Functions ¶
func TagFilename ¶ added in v0.14.44
TagFilename inserts ~tag just before the extension of the filename.
func UntagFilename ¶ added in v0.14.44
UntagFilename returns the filename without tag, and the extracted tag
Types ¶
type FileVersion ¶ added in v0.14.44
Click to show internal directories.
Click to hide internal directories.