app

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToVault

func AddToVault(opts Options, patterns []string) error

func CloseVault

func CloseVault(opts Options)

func Commit

func Commit(opts Options) error

func GetKey

func GetKey(opts Options) string

func InitVault

func InitVault(opts Options) error

Initialize a lockgit vault in the working directory. Returns an error if there is already a lockgit vault in the directory.

func Ls

func Ls(opts Options) []string

func LsGlobs added in v0.7.0

func LsGlobs(opts Options) []string

func OpenVault

func OpenVault(opts Options)

func RemoveFromVault

func RemoveFromVault(opts Options, patterns []string)

func SetKey

func SetKey(opts Options, keystr string) error

func Status

func Status(opts Options) ([]string, [][]string)

Returns (headers, rows) for a table

func UnsetKey added in v0.6.0

func UnsetKey(opts Options) error

Types

type Options

type Options struct {
	NoUpdateGitignore bool
	Force             bool
	Wd                string
}

Jump to

Keyboard shortcuts

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