@@ -195,7 +195,7 @@ func (m *Manager) Install(client *http.Client, repo ghrepo.Interface, io *iostre
195195 return fmt .Errorf ("could not check for binary extension: %w" , err )
196196 }
197197 if isBin {
198- return m .InstallBin (client , repo )
198+ return m .installBin (client , repo )
199199 }
200200
201201 hs , err := hasScript (client , repo )
@@ -208,10 +208,10 @@ func (m *Manager) Install(client *http.Client, repo ghrepo.Interface, io *iostre
208208 }
209209
210210 protocol , _ := cfg .Get (repo .RepoHost (), "git_protocol" )
211- return m .InstallGit (ghrepo .FormatRemoteURL (repo , protocol ), io .Out , io .ErrOut )
211+ return m .installGit (ghrepo .FormatRemoteURL (repo , protocol ), io .Out , io .ErrOut )
212212}
213213
214- func (m * Manager ) InstallBin (client * http.Client , repo ghrepo.Interface ) error {
214+ func (m * Manager ) installBin (client * http.Client , repo ghrepo.Interface ) error {
215215 var r * release
216216 r , err := fetchLatestRelease (client , repo )
217217 if err != nil {
@@ -276,7 +276,7 @@ func (m *Manager) InstallBin(client *http.Client, repo ghrepo.Interface) error {
276276 return nil
277277}
278278
279- func (m * Manager ) InstallGit (cloneURL string , stdout , stderr io.Writer ) error {
279+ func (m * Manager ) installGit (cloneURL string , stdout , stderr io.Writer ) error {
280280 exe , err := m .lookPath ("git" )
281281 if err != nil {
282282 return err
0 commit comments