utils

package
v0.0.2-0...-41449e1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendLog

func AppendLog(operatorPath string, targetPath string, prefix string)

func ExeCp

func ExeCp(sources []string, operationDir string, targetDir string) error

func ExeMv

func ExeMv(sources []string, operationPath string, targetPath string) error

func MkdirTargetDir

func MkdirTargetDir(path string) (bool, error)

func OverwriteSource

func OverwriteSource(message string, removeSourcePath string) (bool, error)

func PrintLog

func PrintLog()

func RemovePrefix

func RemovePrefix(str string) string

func SelectSources

func SelectSources(sources []os.FileInfo, selected *[]string)

Types

type LogType

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

Jump to

Keyboard shortcuts

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