summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-20 23:53:29 -0600
committerJeff Carr <[email protected]>2024-11-20 23:53:29 -0600
commit9617f8f174acc6099bf598477efb00931938d985 (patch)
tree4ad71490bd887a1b23bd5a371ae61bcd8ddaa3d9
parente8a356fcc2a139970302996336d2f19d28e8ab2a (diff)
IsReadOnly() and IsPrivate()
-rw-r--r--update.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/update.go b/update.go
index 8743ee1..27e23ee 100644
--- a/update.go
+++ b/update.go
@@ -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