cla

package
v0.22.9 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionIdHash  = 1
	ActionIdCheck = 2
)
View Source
const (
	ActionStrHash  = "hash"
	ActionStrCheck = "check"
)
View Source
const (
	ErrSyntax = "syntax error"
)
View Source
const (
	ErrUnknownAction = "unknown action: %v"
)
View Source
const UsageHint = `` /* 227-byte string literal not displayed */

Variables

This section is empty.

Functions

func ShowUsage

func ShowUsage()

Types

type ActionId

type ActionId = byte

func NewActionId

func NewActionId(actionStr string) (actionId ActionId, err error)

type CommandLineArguments

type CommandLineArguments struct {
	ActionId      ActionId
	FileToProcess string
}

func ReadCLA

func ReadCLA() (cla *CommandLineArguments, err error)

Jump to

Keyboard shortcuts

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