Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ExitCodeOK means that this app successfully finished to run. ExitCodeOK int = iota // ExitCodeFailed means that this app failed to run. Please check the error message. ExitCodeFailed // ExitCodeCommandNotFound means that your inputed sub-command is invalid. ExitCodeCommandNotFound // ExitCodeFunctionError means that this app's any function cannot work fine. ExitCodeFunctionError // ExitCodeInvalidArguments means that the arguments are invalid. ExitCodeInvalidArguments // ExitCodeIOError means that this app cannot conplete any IO function. ExitCodeIOError )
Variables ¶
View Source
var (
// UsageCompare is Usage of compare subcommand for cli
UsageCompare = "Compares directory information"
)
View Source
var (
// UsageGenerate is Usage of generate subcommand for cli
UsageGenerate = "Generates a json file of the hash list"
)
Functions ¶
func CmdCompare ¶
CmdCompare comares directory information below cases.
Case 1. a json file of hash list with target directory Case 2. source directory with target directory
func CmdGenerate ¶
CmdGenerate generates a json file of the hash list. This hash list includes hash values and recursive directory structure information.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.