MCPcopy
hub / github.com/go-git/go-git / updateReferenceStorerIfNeeded

Function updateReferenceStorerIfNeeded

repository.go:1184–1187  ·  view source on GitHub ↗
(
	s storer.ReferenceStorer, r *plumbing.Reference)

Source from the content-addressed store, hash-verified

1182}
1183
1184func updateReferenceStorerIfNeeded(
1185 s storer.ReferenceStorer, r *plumbing.Reference) (updated bool, err error) {
1186 return checkAndUpdateReferenceStorerIfNeeded(s, r, nil)
1187}
1188
1189// Fetch fetches references along with the objects necessary to complete
1190// their histories, from the remote named as FetchOptions.RemoteName.

Callers 2

updateReferencesMethod · 0.85
buildFetchedTagsMethod · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…