MCPcopy
hub / github.com/cli/cli / NewMeReplacer

Function NewMeReplacer

pkg/cmd/pr/shared/params.go:291–296  ·  view source on GitHub ↗
(apiClient *api.Client, hostname string)

Source from the content-addressed store, hash-verified

289}
290
291func NewMeReplacer(apiClient *api.Client, hostname string) *MeReplacer {
292 return &MeReplacer{
293 apiClient: apiClient,
294 hostname: hostname,
295 }
296}
297
298func (r *MeReplacer) currentLogin() (string, error) {
299 if r.login != "" {

Callers 2

TestMeReplacer_ReplaceFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestMeReplacer_ReplaceFunction · 0.68