Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface { // Save saves the content at the given path to the backend Save(path string) error }
Backend is the interface for storing a backup to various locations
type Mock ¶
type Mock struct { LogFileNames bool LogFileContents bool // contains filtered or unexported fields }
Mock is a mock backend that optionally logs the files it would save
Click to show internal directories.
Click to hide internal directories.