functions

package
v0.0.0-...-49965a3 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checkboxes

func Checkboxes(label string, opts []string) []string

func ContainsAnyString

func ContainsAnyString(str string, substr []string) bool

func DecryptFile

func DecryptFile(filepath string, password string, outputFile string)

func EncryptFile

func EncryptFile(filepath string, password string, outputFile string)

func GenerateRandomString

func GenerateRandomString(length int) string

func GetDriveLetters

func GetDriveLetters() []string

func IsValidZipFile

func IsValidZipFile(filePath string) bool

func ListFiles

func ListFiles(root []string, includedExts []string, excludedDirectories []string, excludedFiles []string) []string

ListFiles recursively walks through directories starting from the root paths specified and returns a list of all files that match the given criteria

func ReadKeyFile

func ReadKeyFile(filepath string) string

func ZipFiles

func ZipFiles(zipName string, files []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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