From 1d3d51cfaf7b09572ba3242b3a8a2a9fcc0e894e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 20 Oct 2025 13:21:12 -0500 Subject: isolating all access to everything --- repo.CacheLoad.go | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 repo.CacheLoad.go (limited to 'repo.CacheLoad.go') 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 +} -- cgit v1.2.3