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

Function fetchRefs

commands/command_fetch.go:242–248  ·  view source on GitHub ↗
(refs []string, watcher *fetchWatcher)

Source from the content-addressed store, hash-verified

240}
241
242func fetchRefs(refs []string, watcher *fetchWatcher) bool {
243 pointers, err := pointersToFetchForRefs(refs)
244 if err != nil {
245 Panic(err, tr.Tr.Get("Could not scan for Git LFS files"))
246 }
247 return fetch(pointers, watcher)
248}
249
250// Fetch all previous versions of objects from since to ref (not including final state at ref)
251// So this will fetch all the '-' sides of the diff from since to ref

Callers 1

fetchCommandFunction · 0.85

Calls 4

pointersToFetchForRefsFunction · 0.85
PanicFunction · 0.85
fetchFunction · 0.85
GetMethod · 0.65

Tested by

no test coverage detected