From 4e47dea41e48e6ee8a48c0bbf75b1ba36a1b8f2c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 1 Dec 2024 00:48:51 -0600 Subject: using mutex lock from protobuf --- repoSettings.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'repoSettings.go') diff --git a/repoSettings.go b/repoSettings.go index 9b03ad1..66677f8 100644 --- a/repoSettings.go +++ b/repoSettings.go @@ -20,6 +20,7 @@ func (f *Forge) SortByGoPath() *ForgeConfigIterator { } */ +/* func (all *ForgeConfigs) UpdateGoPath(name string, gopath string) bool { oldr := all.DeleteByGoPath(name) if oldr == nil { @@ -31,6 +32,7 @@ func (all *ForgeConfigs) UpdateGoPath(name string, gopath string) bool { oldr.GoPath = gopath return all.Append(oldr) } +*/ // returns true if gopath is readonly() // will attempt to match IsWritable("foo") against anything ending in "foo" -- cgit v1.2.3