backup_cleaner

package
v0.0.0-...-dcefac5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2019 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *backupCleaner

Types

type BackupCleaner

type BackupCleaner interface {
	CleanupBackup(directory string, match string, keepAmount int) error
}

type FileInfoByName

type FileInfoByName []os.FileInfo

func (FileInfoByName) Len

func (v FileInfoByName) Len() int

func (FileInfoByName) Less

func (v FileInfoByName) Less(i, j int) bool

func (FileInfoByName) Swap

func (v FileInfoByName) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL