summaryrefslogtreecommitdiff
path: root/repoSettings.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-01 00:48:51 -0600
committerJeff Carr <[email protected]>2024-12-01 00:48:51 -0600
commit4e47dea41e48e6ee8a48c0bbf75b1ba36a1b8f2c (patch)
treef7c2ab17c3e0bbb82322667cb5ded165f227b0b7 /repoSettings.go
parent0b5687f76618025230baa4cf31e56dc1aba52d8b (diff)
using mutex lock from protobufv0.0.12
Diffstat (limited to 'repoSettings.go')
-rw-r--r--repoSettings.go2
1 files changed, 2 insertions, 0 deletions
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"