localfiles

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BackupDirectory = "backups"
)

Variables

This section is empty.

Functions

func RunBackup

func RunBackup(config LocalFilesRequirements) (*bytes.Buffer, error)

func RunRestore

func RunRestore(config LocalFilesRequirements, backupData *bytes.Buffer) error

Types

type LocalFilesRequirements

type LocalFilesRequirements struct {
	Path            string   `json:"file_path"`
	ExcludePatterns []string `json:"exclude_patterns,omitempty"`
}

Jump to

Keyboard shortcuts

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