Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func OptionDryRun ¶
func OptionDryRun() func(*MultiMover)
func OptionExclude ¶
func OptionExclude(excludes *regexp.Regexp) func(*MultiMover)
func OptionInclude ¶
func OptionInclude(includes *regexp.Regexp) func(*MultiMover)
Types ¶
type DefaultEditor ¶
type DefaultEditor struct{}
func (*DefaultEditor) Edit ¶
func (e *DefaultEditor) Edit(filename string) error
type FileEditor ¶
type MockEditor ¶
type MockEditor struct { // This message is written to the file when Edit is called. Message string }
func (*MockEditor) Edit ¶
func (e *MockEditor) Edit(filename string) error
type MultiMover ¶
type MultiMover struct {
// contains filtered or unexported fields
}
func NewMultiMover ¶
func NewMultiMover(options ...func(*MultiMover)) *MultiMover
func (*MultiMover) MultiMoveDir ¶
func (mm *MultiMover) MultiMoveDir(path string) error
Click to show internal directories.
Click to hide internal directories.