ReInit reinitializes the global state, this is useful if the effective user id has changed and you want to update the stored search paths for gitconfig files. This function frees any references to objects, so it should be called before any other functions are called.
()
| 189 | // files. This function frees any references to objects, so it should be called |
| 190 | // before any other functions are called. |
| 191 | func ReInit() { |
| 192 | Shutdown() |
| 193 | initLibGit2() |
| 194 | } |
| 195 | |
| 196 | // Oid represents the id for a Git object. |
| 197 | type Oid [20]byte |
nothing calls this directly
no test coverage detected
searching dependent graphs…