MCPcopy Index your code
hub / github.com/google/go-github / branchRef

Function branchRef

example/commitpr/main.go:92–94  ·  view source on GitHub ↗

branchRef generates the fully qualified git reference for the given branch name.

(name string)

Source from the content-addressed store, hash-verified

90
91// branchRef generates the fully qualified git reference for the given branch name.
92func branchRef(name string) string {
93 return "refs/heads/" + name
94}
95
96// getTree generates the tree to commit based on the given files and the commit
97// of the ref you got in getRef.

Callers 1

getRefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…