IsReadOnly() and IsPrivate()
This commit is contained in:
parent
e8a356fcc2
commit
9617f8f174
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue