blob: 9e53fa26ef8e3d847408e6907a57652fc29a682f (
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
|
// 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.24 Built on 2025/10/14 23:24:11 ( 3 h)
// Theese sort.pb.go and marshal.pb.go files are autogenerated
// The autogenpb sources have example .proto files with instructions
//
package gitpb
import (
"path/filepath"
"go.wit.com/lib/config"
)
func (r *Repo) LoadStats() (*Stats, error) {
filename := filepath.Join(r.FullPath, ".git/", "stats.pb")
pb := NewStats()
pb.Filename = filename
err := config.LoadPB(pb)
return pb, err
}
|