MCPcopy Create free account
hub / github.com/cli/cli / String

Method String

git/client.go:571–573  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

569}
570
571func (r RemoteTrackingRef) String() string {
572 return fmt.Sprintf("refs/remotes/%s/%s", r.Remote, r.Branch)
573}
574
575// ParseRemoteTrackingRef parses a string of the form "refs/remotes/<remote>/<branch>" into
576// a RemoteTrackingBranch struct. If the string does not match this format, an error is returned.

Callers 1

Calls

no outgoing calls

Tested by 1