MCPcopy Create free account
hub / github.com/gogs/gogs / boolFlag

Function boolFlag

internal/cmd/cmd.go:17–22  ·  view source on GitHub ↗
(name, usage string)

Source from the content-addressed store, hash-verified

15}
16
17func boolFlag(name, usage string) cli.BoolFlag {
18 return cli.BoolFlag{
19 Name: name,
20 Usage: usage,
21 }
22}
23
24//nolint:deadcode,unused
25func intFlag(name string, value int, usage string) cli.IntFlag {

Callers 4

backup.goFile · 0.85
admin.goFile · 0.85
restore.goFile · 0.85
cert.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected