actions

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(f *File, p *crypto.Provider, plain bool, stdout bool, threads uint) error

func Encrypt

func Encrypt(f *File, p *crypto.Provider, threads uint) error

func UpdateGitignore

func UpdateGitignore(c *config.Config) error

Types

type File

type File struct {
	Path string
	// contains filtered or unexported fields
}

func NewFile

func NewFile(path string, config *config.Config) *File

func (*File) AllPaths

func (f *File) AllPaths() (string, string, string, error)

func (*File) BarePath

func (f *File) BarePath() (string, error)

func (*File) DecryptedPath

func (f *File) DecryptedPath() (string, error)

func (*File) EncryptedPath

func (f *File) EncryptedPath() (string, error)

func (*File) PlainPath

func (f *File) PlainPath() (string, error)

Jump to

Keyboard shortcuts

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