MCPcopy
hub / github.com/git-lfs/git-lfs / RemoteRef

Method RemoteRef

git/refs.go:33–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33func (u *RefUpdate) RemoteRef() *Ref {
34 if u.remoteRef == nil {
35 u.remoteRef = defaultRemoteRef(u.git, u.remote, u.LocalRef())
36 }
37 return u.remoteRef
38}
39
40// defaultRemoteRef returns the remote ref receiving a push based on the current
41// repository config and local ref being pushed.

Callers 11

locksCommandFunction · 0.95
lockCommandFunction · 0.95
unlockCommandFunction · 0.95
RemoteRefCommitishMethod · 0.95
TestRefUpdateDefaultFunction · 0.95
currentRemoteRefFunction · 0.45
uploadForRefUpdatesFunction · 0.45
verifyLocksForUpdatesFunction · 0.45

Calls 2

LocalRefMethod · 0.95
defaultRemoteRefFunction · 0.85