From 69b5038c58e6a8487f22aeaf28eddec5c785c283 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 20 Oct 2025 13:21:03 -0500 Subject: probably better. notsure --- identify.go | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 identify.go (limited to 'identify.go') 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 -} -- cgit v1.2.3