IsReadOnly() and IsPrivate()

This commit is contained in:
Jeff Carr 2024-11-20 23:53:29 -06:00
parent e8a356fcc2
commit 9617f8f174
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ func (all *Repos) UpdateGoPath(name string, gopath string) bool {
}
// returns true if gopath is readonly()
func (all *Repos) ReadOnly(gopath string) bool {
func (all *Repos) IsReadOnly(gopath string) bool {
var match *Repo
loop := all.SortByPath() // get the list of repos
@ -60,7 +60,7 @@ func (all *Repos) ReadOnly(gopath string) bool {
}
// is this a non-publishable repo?
func (all *Repos) Private(gopath string) bool {
func (all *Repos) IsPrivate(gopath string) bool {
var match *Repo
loop := all.SortByPath() // get the list of repos