diff options
| author | Jeff Carr <[email protected]> | 2024-11-20 23:53:29 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-20 23:53:29 -0600 |
| commit | 9617f8f174acc6099bf598477efb00931938d985 (patch) | |
| tree | 4ad71490bd887a1b23bd5a371ae61bcd8ddaa3d9 | |
| parent | e8a356fcc2a139970302996336d2f19d28e8ab2a (diff) | |
IsReadOnly() and IsPrivate()
| -rw-r--r-- | update.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
