summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-27 18:39:32 -0500
committerJeff Carr <[email protected]>2025-10-27 18:39:32 -0500
commit1a832fb07f5839212001cca4ab5922360695b9bf (patch)
tree45e452e3ca9f3c41a95a35ecd86b4b4ea1725e72
parentc39fa11b329a4a6ed0a9611303fefb43bba61db5 (diff)
thinking out the issues
-rw-r--r--mode.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/mode.go b/mode.go
index 7b3bcad..353c915 100644
--- a/mode.go
+++ b/mode.go
@@ -16,6 +16,13 @@ func (f *Forge) GetMode() string {
}
}
+// indicates the user is trying to cleanup repos
+// stays in this mode until the user leaves it
+// should not change the repos selected
+func (f *Forge) SetCleaningMode() {
+ f.SetMode(ForgeMode_CLEAN)
+}
+
func (f *Forge) IsModeUnknown() bool {
if f.mode == ForgeMode_UNKNOWN {
return true