utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Archive

func Archive(vaultPath string, archivePath string, archiveType uint8)

func Cleanup

func Cleanup(archivePath string, retention uint8) error

func ConfigExists

func ConfigExists(configPath string)

Types

type Config

type Config struct {
	VaultPath   []string
	ArchivePath string
	ArchiveType uint8
	Retention   uint8
}

func LoadConfig

func LoadConfig(configPath string) Config

Jump to

Keyboard shortcuts

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