MCPcopy
hub / github.com/cli/cli / Content

Function Content

internal/licenses/licenses.go:13–15  ·  view source on GitHub ↗

Content returns the full license report, including the main report and all third-party licenses.

()

Source from the content-addressed store, hash-verified

11// Content returns the full license report, including the main report and all
12// third-party licenses.
13func Content() string {
14 return content(embedFS, rootDir)
15}
16
17func content(embedFS fs.ReadFileFS, rootDir string) string {
18 var b strings.Builder

Callers 2

NewCmdLicensesFunction · 0.92
TestContentFunction · 0.85

Calls 1

contentFunction · 0.85

Tested by 1

TestContentFunction · 0.68