dispatch

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MLocal = app_msg.Apply(&MsgLocal{}).(*MsgLocal)
)

Functions

This section is empty.

Types

type Local

type Local struct {
	rc_recipe.RemarkIrreversible
	File    fd_file.RowFeed
	Preview bool
}

func (*Local) Exec

func (z *Local) Exec(c app_control.Control) error

func (*Local) Preset

func (z *Local) Preset()

func (*Local) Test

func (z *Local) Test(c app_control.Control) error

type LocalPattern

type LocalPattern struct {
	Suffix            string `json:"suffix"`
	SourcePath        string `json:"source_path"`
	SourceFilePattern string `json:"source_file_pattern"`
	DestPathPattern   string `json:"dest_path_pattern"`
	DestFilePattern   string `json:"dest_file_pattern"`
}

func (*LocalPattern) Exec

func (z *LocalPattern) Exec(c app_control.Control, op func(src, dst string, c app_control.Control) error) error

type MsgLocal

type MsgLocal struct {
	ErrorUnableToReadSourcePath       app_msg.Message
	ErrorUnableToMove                 app_msg.Message
	ErrorInvalidSourceFileNamePattern app_msg.Message
	ErrorInvalidDestPathPattern       app_msg.Message
	ErrorInvalidDestNamePattern       app_msg.Message
	ExecRule                          app_msg.Message
	ExecPreview                       app_msg.Message
	ExecMove                          app_msg.Message
}

Jump to

Keyboard shortcuts

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