MCPcopy Create free account
hub / github.com/github/gh-aw / displayName

Method displayName

pkg/cli/env_command.go:493–502  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

491}
492
493func (t defaultsTarget) displayName() string {
494 switch t.scope {
495 case defaultsScopeRepo:
496 return t.repoOwner + "/" + t.repoName
497 case defaultsScopeOrg:
498 return t.org
499 default:
500 return t.enterprise
501 }
502}
503
504func runDefaultsGH(args ...string) ([]byte, error) {
505 envCmdLog.Printf("Running gh command: %v", args)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected