blob: 550548190313e6c7ad8b6994909663222978b197 (
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.24 Built on 2025/10/15 04:52:04 ( 17 s)
// 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 *Stats) SaveVerbose() error {
err := config.SavePB(pb)
if err == nil {
log.Printf("Saved %s with len(%d) hashes.\n", pb.Filename, pb.Len())
} else {
log.Printf("Save err %s with len(%d) hashes. err(%v)\n", pb.Filename, pb.Len(), err)
}
return err
}
|