CCSDS Space Data Link Security (355.0-B-2)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

csv: rename from csvt

Drops the redundant "t" suffix. Library name, opam package, module
(Csvt -> Csv), and directory all rename in lockstep. Every downstream
reference in interop tests, libraries, and docs updated.

+5 -5
+1 -1
test/interop/cryptolib/dune
··· 1 1 (test 2 2 (name test) 3 - (libraries sdls tc fsr csvt alcotest) 3 + (libraries sdls tc fsr csv alcotest) 4 4 (deps 5 5 (source_tree traces) 6 6 (source_tree scripts)))
+4 -4
test/interop/cryptolib/test.ml
··· 35 35 } 36 36 37 37 let vector_codec = 38 - Csvt.( 38 + Csv.( 39 39 Row.( 40 40 obj 41 41 (fun ··· 78 78 |> finish)) 79 79 80 80 let load_vectors () = 81 - match Csvt.decode_file vector_codec (trace "vectors.csv") with 81 + match Csv.decode_file vector_codec (trace "vectors.csv") with 82 82 | Ok rows -> rows 83 83 | Error e -> Alcotest.failf "CSV parse: %s" e 84 84 ··· 197 197 type fsr_row = { fsr_name : string; fsr_hex : string } 198 198 199 199 let fsr_codec = 200 - Csvt.( 200 + Csv.( 201 201 Row.( 202 202 obj (fun fsr_name fsr_hex -> { fsr_name; fsr_hex }) 203 203 |> col "name" string ~enc:(fun r -> r.fsr_name) ··· 205 205 |> finish)) 206 206 207 207 let load_fsr_vectors () = 208 - match Csvt.decode_file fsr_codec (trace "fsr.csv") with 208 + match Csv.decode_file fsr_codec (trace "fsr.csv") with 209 209 | Ok rows -> rows 210 210 | Error e -> Alcotest.failf "fsr.csv: %s" e 211 211