From 9617f8f174acc6099bf598477efb00931938d985 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 20 Nov 2024 23:53:29 -0600 Subject: [PATCH] IsReadOnly() and IsPrivate() --- update.go | 4 ++-- 1 file 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