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

Function ghId

pkg/cmd/pr/shared/editable_http.go:220–230  ·  view source on GitHub ↗
(s *string)

Source from the content-addressed store, hash-verified

218}
219
220func ghId(s *string) *githubv4.ID {
221 if s == nil {
222 return nil
223 }
224 if *s == "" {
225 r := githubv4.ID(nil)
226 return &r
227 }
228 r := githubv4.ID(*s)
229 return &r
230}
231
232func ghString(s *string) *githubv4.String {
233 if s == nil {

Callers 1

replaceIssueFieldsFunction · 0.85

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected