summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-22 09:00:05 -0600
committerJeff Carr <[email protected]>2024-11-22 09:00:05 -0600
commit3ba652743c8f73dffb645ae574c2549f1b000466 (patch)
tree6b42aacd5bdbf8ad1874281861db58774f775928
parent03eb4fb389a671c64c35ca486cfe762fef087eab (diff)
rename. add notes
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--settings.go (renamed from readonly.go)9
1 files changed, 9 insertions, 0 deletions
diff --git a/readonly.go b/settings.go
index 9d0c1e9..afe5e8a 100644
--- a/readonly.go
+++ b/settings.go
@@ -1,5 +1,14 @@
package forgepb
+/*
+ check settings for a particular gopath
+ this provides checks for:
+
+ IsReadOnly() // user can't push commits
+ IsPrivate() // repo can't be published to the pkg.go.dev system
+ DebName() // for 'zookeeper' returns 'zookeeper-go'
+*/
+
import (
"strings"
)