Reindex indexes again all packfiles. Useful if git changed packfiles externally
()
| 70 | |
| 71 | // Reindex indexes again all packfiles. Useful if git changed packfiles externally |
| 72 | func (s *ObjectStorage) Reindex() { |
| 73 | s.index = nil |
| 74 | } |
| 75 | |
| 76 | func (s *ObjectStorage) loadIdxFile(h plumbing.Hash) (err error) { |
| 77 | f, err := s.dir.ObjectPackIdx(h) |
no outgoing calls