backup

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args added in v1.0.10

type Args struct {
	RW rwService
}

Args is a Service arguments.

type Service added in v1.0.10

type Service struct {
	// contains filtered or unexported fields
}

Service is a backup service.

func New added in v1.0.10

func New(args ...func(arg *Args)) *Service

New creates new Service.

func (Service) Create added in v1.0.10

func (s Service) Create(path string) (err error)

Create backup of file.

func (Service) Remove added in v1.0.10

func (s Service) Remove(path ...string)

Remove backup of file.

Jump to

Keyboard shortcuts

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