userconfig

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserConfig

type UserConfig struct {
	User    string
	Items   []backupitem.BackupItem
	Exclude []string
}

func (*UserConfig) AddExclude

func (hc *UserConfig) AddExclude(path string)

func (*UserConfig) AddItem

func (hc *UserConfig) AddItem(item backupitem.BackupItem)

func (*UserConfig) GetExclude

func (hc *UserConfig) GetExclude() []string

func (*UserConfig) GetItems

func (hc *UserConfig) GetItems() []backupitem.BackupItem

func (*UserConfig) LoadDefaults

func (hc *UserConfig) LoadDefaults(user, fileroot string)

Jump to

Keyboard shortcuts

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