run

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSymlinkAction   = copy.Skip
	DefaultDirExistsAction = copy.Merge
)

Constants defining default behaviors for file copy operations.

Variables

View Source
var Variable = map[string]string{
	"$DATE":     time.Now().Local().Format("20060102"),
	"$DATETIME": time.Now().Local().Format("20060102-150405"),
}

Functions

func Run

func Run(l *log.Log, path string, vars map[string]string) error

Run executes the main program logic using the given log and configuration file path.

Types

type InvalidCompressMethod

type InvalidCompressMethod string

Type definitions for various errors raised by run package.

func (InvalidCompressMethod) Error

func (e InvalidCompressMethod) Error() string

Error returns the string representation of InvalidCompressMethod

type InvalidIgnorePattern

type InvalidIgnorePattern string

Type definitions for various errors raised by run package.

func (InvalidIgnorePattern) Error

func (e InvalidIgnorePattern) Error() string

Error returns the string representation of InvalidIgnorePattern

Jump to

Keyboard shortcuts

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