summaryrefslogtreecommitdiff
path: root/repo.CacheLoad.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-20 13:21:12 -0500
committerJeff Carr <[email protected]>2025-10-20 13:21:12 -0500
commit1d3d51cfaf7b09572ba3242b3a8a2a9fcc0e894e (patch)
tree63360e94aed9068b3a48b486a0cbfbd68e1d4e48 /repo.CacheLoad.go
parente0277684a44d05fc65c789424829dc16bc19f7b9 (diff)
isolating all access to everything
Diffstat (limited to 'repo.CacheLoad.go')
-rw-r--r--repo.CacheLoad.go25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo.CacheLoad.go b/repo.CacheLoad.go
new file mode 100644
index 0000000..00ada9e
--- /dev/null
+++ b/repo.CacheLoad.go
@@ -0,0 +1,25 @@
+// Code generated by go.wit.com/apps/autogenpb DO NOT EDIT.
+// go install go.wit.com/apps/autogenpb@latest
+//
+// This file was autogenerated with autogenpb:
+// autogenpb v0.5.25-2-g30e8de2 Built on 2025/10/16 09:16:09 ( 3 m)
+// Theese sort.pb.go and marshal.pb.go files are autogenerated
+// The autogenpb sources have example .proto files with instructions
+//
+
+package gitpb
+
+import (
+ "go.wit.com/lib/config"
+ "go.wit.com/log"
+)
+
+func (pb *Repos) CacheLoad() error {
+ err := config.CacheLoad(pb)
+ if err != nil {
+ log.Info("couldn't load repos cache file:", pb.Filename)
+ panic("gitpb.CacheLoad() failed")
+ }
+ // init new config here
+ return err
+}