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

Method String

git/client.go:515–517  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

513}
514
515func (r RemoteTrackingRef) String() string {
516 return fmt.Sprintf("refs/remotes/%s/%s", r.Remote, r.Branch)
517}
518
519// ParseRemoteTrackingRef parses a string of the form "refs/remotes/<remote>/<branch>" into
520// a RemoteTrackingBranch struct. If the string does not match this format, an error is returned.

Callers 1

TestRemoteTrackingRefFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestRemoteTrackingRefFunction · 0.76