summaryrefslogtreecommitdiff
path: root/identify.go
diff options
context:
space:
mode:
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
-}