Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/git-lfs/git-lfs
/ LocalRefCommitish
Method
LocalRefCommitish
git/refs.go:29–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
27
}
28
29
func
(u *RefUpdate) LocalRefCommitish() string {
30
return
refCommitish(u.LocalRef())
31
}
32
33
func
(u *RefUpdate) RemoteRef() *Ref {
34
if
u.remoteRef == nil {
Callers
3
TestRefUpdateExplicitLocalAndRemoteRefs
Function · 0.95
uploadForRefUpdates
Function · 0.80
uploadRangeOrAll
Function · 0.80
Calls
2
LocalRef
Method · 0.95
refCommitish
Function · 0.85
Tested by
1
TestRefUpdateExplicitLocalAndRemoteRefs
Function · 0.76