summaryrefslogtreecommitdiff
path: root/argv.LoadHistory.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.LoadHistory.go')
-rw-r--r--argv.LoadHistory.go28
1 files changed, 0 insertions, 28 deletions
diff --git a/argv.LoadHistory.go b/argv.LoadHistory.go
deleted file mode 100644
index a66758c..0000000
--- a/argv.LoadHistory.go
+++ /dev/null
@@ -1,28 +0,0 @@
-// 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.27 Built on 2025/10/16 17:13:05 ( 50 m)
-// Theese sort.pb.go and marshal.pb.go files are autogenerated
-// The autogenpb sources have example .proto files with instructions
-//
-
-package argvpb
-
-import (
- "errors"
-
- "go.wit.com/lib/config"
-)
-
-// deletes and remakes the PB file when .proto versions change
-func (pb *Argvs) LoadSafe() error {
- err := config.LoadPB(pb)
- if errors.Is(err, config.VersionMismatch) {
- panic("fixme in autopb")
- // TODO: erase and recreate the PB file
- } else if err != nil {
- panic("still fixme in")
- }
- return err
-}