Skip to content

Commit

Permalink
remove audit stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Nov 14, 2021
1 parent 121700a commit c95a4dd
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 490 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ Usage:
hashit [flags]
Flags:
-a, --audit string audit mode, validates argument against known hashes
--debug enable debug output
-x, --file-audit enable file audit logic where files will be checked against internal list
-f, --format string set output format [text, json, sum, hashdeep] (default "text")
-c, --hash strings hashes to be run for each file (set to 'all' for all possible hashes) (default [md5,sha1,sha256,sha512])
--hashes list all supported hashes
Expand Down
206 changes: 0 additions & 206 deletions hashaudit.json

This file was deleted.

15 changes: 0 additions & 15 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"os"
)

//go:generate go run scripts/include.go
func main() {
//f, _ := os.Create("hashit.pprof")
//_ = pprof.StartCPUProfile(f)
Expand Down Expand Up @@ -46,13 +45,6 @@ func main() {
false,
"recursive subdirectories are traversed",
)
flags.BoolVarP(
&processor.FileAudit,
"file-audit",
"x",
false,
"enable file audit logic where files will be checked against internal list",
)
flags.BoolVar(
&processor.Hashes,
"hashes",
Expand All @@ -66,13 +58,6 @@ func main() {
"",
"output filename (default stdout)",
)
flags.StringVarP(
&processor.AuditFile,
"audit",
"a",
"",
"audit mode, validates argument against known hashes",
)
flags.BoolVar(
&processor.NoStream,
"no-stream",
Expand Down
Loading

0 comments on commit c95a4dd

Please sign in to comment.