Documentation
¶
Overview ¶
Package rename commits the renaming operation to the filesystem and reports errors if any. It also creates a backup file for the operation and provides a way to undo any renaming operation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute( changes []*file.Change, simpleMode, quiet, revert, verbose bool, jsonOpts *internaljson.OutputOpts, ) []int
Execute prints the changes to be made in dry-run mode or commits the operation to the filesystem if in execute mode.
func Undo ¶
func Undo( exec, includeDir, quiet, revert, verbose bool, jsonOpts *internaljson.OutputOpts, ) error
Undo reverses a renaming operation according to the relevant backup file. The undo file is deleted if the operation is successfully reverted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.