Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ExitCodeOK means that this app successfully finished to run. ExitCodeOK int = iota // ExitCodeVerificationFailed means that the Verification has ended with errors. ExitCodeVerificationFailed // 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 (
// UsageGenerate is Usage of generate subcommand for cli
UsageGenerate = "Generates a json file of the hash list"
)
View Source
var (
// UsageVerify is Usage of verify subcommand for cli
UsageVerify = "Verifies the structure and each hash value of files."
)
Functions ¶
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.