summaryrefslogtreecommitdiff
path: root/identify.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-20 13:21:03 -0500
committerJeff Carr <[email protected]>2025-10-20 13:21:03 -0500
commit69b5038c58e6a8487f22aeaf28eddec5c785c283 (patch)
tree72b9910c32a803d8c7f3bffc0f5d7175516d39b0 /identify.go
parent2ecc340541f88d4c1cbe437efe79a6fcfdbf5499 (diff)
probably better. notsure
Diffstat (limited to 'identify.go')
-rw-r--r--identify.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/identify.go b/identify.go
deleted file mode 100644
index c84f385..0000000
--- a/identify.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package forgepb
-
-import (
- "go.wit.com/log"
-)
-
-// print the protobuf in human form
-func IdentifyProtobuf(data []byte) error {
- var pb *Identify
- pb = new(Identify)
- if err := pb.Unmarshal(data); err != nil {
- log.Info("data can't be identified as a standard protobuf. len =", len(data))
- return err
- }
- log.Info("Identify protobuf file uuid =", pb.Uuid, "version =", pb.Version)
- return nil
-}