cmd

package
v0.0.0-...-6988055 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(path string) error

Cleanup deletes all old subdirectories and files in the recovery partition returns: error

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func ExecuteCmd

func ExecuteCmd(cmd string) error

ExecuteCmd execute shell commands returns: error

func LaunchBackup

func LaunchBackup(BackupPath string) error

LaunchBackup triggers the backup procedure returns: error

func ParseBackupPath

func ParseBackupPath(BackupPath string) string

func RecoveryInProgress

func RecoveryInProgress(BackupPath string) bool

RecoveryInProgress checks if a restore is in progress returns: bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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