restructure scanner

This commit is contained in:
sentriz
2019-05-24 14:29:09 +01:00
parent 29702efd51
commit 4398077d1b
5 changed files with 214 additions and 211 deletions

View File

@@ -2,12 +2,10 @@ package scanner
import (
"fmt"
"log"
"os"
"path"
"path/filepath"
"strings"
"time"
"github.com/dhowden/tag"
)
@@ -62,8 +60,3 @@ func readTags(path string) (tag.Metadata, error) {
}
return tags, nil
}
func logElapsed(start time.Time, name string) {
elapsed := time.Since(start)
log.Printf("finished %s in %s\n", name, elapsed)
}