aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-07-14 02:59:50 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-07-14 02:59:50 +0200
commitfb1a96e7af59e993edfc18dc12ddbc0b8df9b109 (patch)
tree2240a6359a7aecb667b4aa827fb6a1a6b104cc56
parent22f6ce6b6e9cc25b436682731da57ddad2c90684 (diff)
downloadrefcat-fb1a96e7af59e993edfc18dc12ddbc0b8df9b109.tar.gz
refcat-fb1a96e7af59e993edfc18dc12ddbc0b8df9b109.zip
reduce: add todo
-rw-r--r--skate/reduce.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/skate/reduce.go b/skate/reduce.go
index f8694c1..ade6a02 100644
--- a/skate/reduce.go
+++ b/skate/reduce.go
@@ -321,6 +321,8 @@ func ZippyVerifyRefsOpenLibrary(olr, refs io.Reader, w io.Writer) error {
return ""
}
grouper = func(g *zipkey.Group) error {
+ // TODO: For openlibrary and wayback matches, pass through either
+ // unstructured ref string, or CSL JSON
var (
ref, pivot *Release // ref (reference), pivot (open library)
err error