summaryrefslogtreecommitdiff
path: root/repo.CacheLoad.go
blob: 00ada9e38c70cd0343776b543e5deb42f0f0104c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}