summaryrefslogtreecommitdiff
path: root/set.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-03 00:35:50 -0600
committerJeff Carr <[email protected]>2024-12-03 00:35:50 -0600
commit1d1d8e7eea642cd3fc546101b4899ec1db81e3b7 (patch)
tree0a313aa1a49b1aeaacfc3df802171193ed76a324 /set.go
parent7a90613c91fa5c06b6fbe5a7a6e48fbba722877d (diff)
lots of code hopefully better than before
Diffstat (limited to 'set.go')
-rw-r--r--set.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/set.go b/set.go
new file mode 100644
index 0000000..8821e0d
--- /dev/null
+++ b/set.go
@@ -0,0 +1,13 @@
+package gitpb
+
+func (repo *Repo) SetReadOnly(b bool) {
+ repo.ReadOnly = b
+}
+
+func (repo *Repo) SetTargetVersion(target string) {
+ repo.TargetVersion = target
+}
+
+func (repo *Repo) SetMasterBranchName(s string) {
+ repo.MasterBranchName = s
+}