Fetch all binaries for a given ref (that we don't have already)
(ref string, filter *filepathfilter.Filter, watcher *fetchWatcher)
| 202 | |
| 203 | // Fetch all binaries for a given ref (that we don't have already) |
| 204 | func fetchRef(ref string, filter *filepathfilter.Filter, watcher *fetchWatcher) bool { |
| 205 | pointers, err := pointersToFetchForRef(ref, filter) |
| 206 | if err != nil { |
| 207 | Panic(err, tr.Tr.Get("Could not scan for Git LFS files")) |
| 208 | } |
| 209 | return fetch(pointers, watcher) |
| 210 | } |
| 211 | |
| 212 | func pointersToFetchForRefs(refs []string) ([]*lfs.WrappedPointer, error) { |
| 213 | // This could be a long process so use the chan version & report progress |
no test coverage detected