From 78f72c23bdb2aa4dc56b1198d328b15f7716008d Mon Sep 17 00:00:00 2001 From: David Howden Date: Thu, 2 Jul 2015 23:07:50 +1000 Subject: [PATCH] Added Identity to check tool. --- check/main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/check/main.go b/check/main.go index deb2b0a..3a4ea29 100644 --- a/check/main.go +++ b/check/main.go @@ -166,6 +166,11 @@ func (p *processor) do(ch <-chan string) { } defer tf.Close() + _, _, err = tag.Identify(tf) + if err != nil { + fmt.Println("IDENTIFY:", path, err.Error()) + } + _, err = tag.ReadFrom(tf) if err != nil { fmt.Println("READFROM:", path, err.Error())