MCPcopy
hub / github.com/perkeep/perkeep / PrintLicenses

Function PrintLicenses

pkg/cmdmain/cmdmain.go:245–249  ·  view source on GitHub ↗

or nil if before Go 1.2 PrintLicenses prints all the licences registered by go4.org/legal for this program.

()

Source from the content-addressed store, hash-verified

243
244// PrintLicenses prints all the licences registered by go4.org/legal for this program.
245func PrintLicenses() {
246 for _, text := range legal.Licenses() {
247 fmt.Fprintln(Stderr, text)
248 }
249}
250
251// Main is meant to be the core of a command that has
252// subcommands (modes), such as pk-put or pk.

Callers 3

mainFunction · 0.92
mainFunction · 0.92
MainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected