summaryrefslogtreecommitdiff
path: root/stat.OpenStats.go
diff options
context:
space:
mode:
Diffstat (limited to 'stat.OpenStats.go')
-rw-r--r--stat.OpenStats.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/stat.OpenStats.go b/stat.OpenStats.go
new file mode 100644
index 0000000..9e53fa2
--- /dev/null
+++ b/stat.OpenStats.go
@@ -0,0 +1,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
+}