utils

package
v0.0.0-...-c6337e5 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertListToByteBuffer

func ConvertListToByteBuffer(list []string) bytes.Buffer

func DisplayCommandProgress

func DisplayCommandProgress(closer io.ReadCloser)

func FilterImageList

func FilterImageList(prevResults []map[string]interface{}, imgList []string) []string

func GetHomeDir

func GetHomeDir() string

func GetImageList

func GetImageList(imageFolder string, imageFormat string) []string

func MakeFolder

func MakeFolder(path string)

func MoveFile

func MoveFile(originalPath string, newPath string)

func ParsePath

func ParsePath(imageFolder string) string

func ReadJsonResultsFile

func ReadJsonResultsFile(path string) []map[string]interface{}

Types

type Params

type Params struct {
	DarknetPath string
	Folder      string
	ImageFormat string
	Overwrite   bool
}

func GetInitialParams

func GetInitialParams() Params

Jump to

Keyboard shortcuts

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