operations

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitOnError

func ExitOnError(err *error)

Print the error before exiting on fatal errors

func InitiateDecryption added in v1.2.0

func InitiateDecryption(path, configPath string, threadsAmount int) (err error)

This function prepares for the decryption process

func InitiateEncryption added in v1.2.0

func InitiateEncryption(path, configPathKey string, doRename bool, threadsAmount int) (err error)

This function prepares for the encryption process

Types

type ConfigFile

type ConfigFile struct {
	Key          string            `json:"Key"`
	DoRename     bool              `json:"DoRename"`
	RenamedFiles map[string]string `json:"RenamedFiles"`
}

Jump to

Keyboard shortcuts

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