MCPcopy Index your code
hub / github.com/cli/cli / Code

Struct Code

pkg/search/result.go:121–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121type Code struct {
122 Name string `json:"name"`
123 Path string `json:"path"`
124 Repository Repository `json:"repository"`
125 Sha string `json:"sha"`
126 TextMatches []TextMatch `json:"text_matches"`
127 URL string `json:"html_url"`
128}
129
130type TextMatch struct {
131 Fragment string `json:"fragment"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected