diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-05-05 16:54:48 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-05-05 16:54:48 +0200 |
commit | c801b2ff0aa93489eed89ddb1f2d62404fc89ca2 (patch) | |
tree | 7e5249666f3a9217c58329bb03ac60d84d98e675 /skate/cmd/skate-verify | |
parent | 0e26ef6b1b7998198bc92ac9890f6fe42c86a45f (diff) | |
download | refcat-c801b2ff0aa93489eed89ddb1f2d62404fc89ca2.tar.gz refcat-c801b2ff0aa93489eed89ddb1f2d62404fc89ca2.zip |
split functionality up a bit
Diffstat (limited to 'skate/cmd/skate-verify')
-rw-r--r-- | skate/cmd/skate-verify/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/skate/cmd/skate-verify/main.go b/skate/cmd/skate-verify/main.go index 3b40488..895d508 100644 --- a/skate/cmd/skate-verify/main.go +++ b/skate/cmd/skate-verify/main.go @@ -81,7 +81,7 @@ func main() { if !ok { mr = matchResults["unknown"] } - if err := skate.ZipUnverified(f, g, mr, *provenance, bw); err != nil { + if err := skate.ZippyFixed(f, g, mr, *provenance, bw); err != nil { log.Fatal(err) } case "zip": @@ -102,7 +102,7 @@ func main() { defer g.Close() bw := bufio.NewWriter(os.Stdout) defer bw.Flush() - if err := skate.ZipVerifyRefs(f, g, bw); err != nil { + if err := skate.ZippyVerifyRefs(f, g, bw); err != nil { log.Fatal(err) } case "ref": @@ -138,7 +138,7 @@ func main() { defer g.Close() bw := bufio.NewWriter(os.Stdout) defer bw.Flush() - if err := skate.ZipWikiUnverified(f, g, skate.MatchResult{skate.StatusExact, skate.ReasonDOI}, "wiki", bw); err != nil { + if err := skate.ZippyFixedWiki(f, g, skate.MatchResult{skate.StatusExact, skate.ReasonDOI}, "wiki", bw); err != nil { log.Fatal(err) } default: |