Documentation ¶
Index ¶
Constants ¶
View Source
const CURRENT = "current"
View Source
const INCOMPLETE = "incomplete"
Variables ¶
This section is empty.
Functions ¶
func Resume ¶
func Resume(h backup_host.Host) error
Types ¶
type Backup ¶
type Backup interface { Path() string Name() string Delete() error IsDir() (bool, error) ValidName() bool }
func KeepBackups ¶
func KeepBackups(h backup_host.Host) ([]Backup, error)
func OldBackups ¶
func OldBackups(h backup_host.Host) ([]Backup, error)
type BackupByName ¶
type BackupByName []Backup
func (BackupByName) Len ¶
func (v BackupByName) Len() int
func (BackupByName) Less ¶
func (v BackupByName) Less(i, j int) bool
func (BackupByName) Swap ¶
func (v BackupByName) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.