utils

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDirTable added in v0.0.3

func CreateDirTable(rows []HashResults, algo string) *tablewriter.Table

func CreateTable

func CreateTable(rows []HashResults, algo string) *tablewriter.Table

func IsDirectory added in v0.0.3

func IsDirectory(fileName string) bool

func ReturnFilesInFolder added in v0.0.3

func ReturnFilesInFolder(folder string) []string

Types

type HashResults

type HashResults struct {
	// contains filtered or unexported fields
}

func GetMD5ForFiles

func GetMD5ForFiles(files []string, algo string) []HashResults

func HashesAreEqual added in v0.0.3

func HashesAreEqual(hr1 []HashResults, hr2 []HashResults) (bool, []HashResults)

Jump to

Keyboard shortcuts

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