gitAvailable returns true if the configured git binary can be found in PATH.
()
| 101 | // gitAvailable returns true if the configured git binary can be found |
| 102 | // in PATH. |
| 103 | func (h *Handler) gitAvailable() bool { |
| 104 | _, err := exec.LookPath(h.gitBin) |
| 105 | return err == nil |
| 106 | } |
| 107 | |
| 108 | // Subscribe processes a subscribe message, resolving paths to git repo |
| 109 | // roots and adding new repos to the watch set. Returns true if any new |
no outgoing calls
no test coverage detected