| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
`Repository#refreshIndex` will return an `Index` object back that has the latest data loaded off of disk. This removes the need for the `Repository#index` then `Index#read(1)` pattern that was being used which seemed to have some weird timing issues that could have wrong data loaded into the returned index. Calling this function also clears the `Index` that's cached in the `Repository` object.
| Back | FazBrowse Home | New Git URL |
Repository#refreshIndex will return an Index object back that has the latest data loaded off of disk.
This removes the need for the Repository#index then Index#read(1) pattern that was being used which seemed to have some weird timing issues that could have wrong data loaded into the returned index.
Calling this function also clears the Index that's cached in the Repository object.