CCSDS 133.0-B Space Packet Protocol for OCaml
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.

+4 -4
+1 -1
test/interop/spacepackets/dune
··· 1 1 (test 2 2 (name test) 3 - (libraries space-packet csvt alcotest) 3 + (libraries space-packet csv alcotest) 4 4 (deps 5 5 (source_tree traces) 6 6 (source_tree scripts)))
+3 -3
test/interop/spacepackets/test.ml
··· 19 19 } 20 20 21 21 let packet_codec = 22 - Csvt.( 22 + Csv.( 23 23 Row.( 24 24 obj (fun name ptype apid shf seq_flags seq_count data_hex packet_hex -> 25 25 { name; ptype; apid; shf; seq_flags; seq_count; data_hex; packet_hex }) ··· 66 66 67 67 let decode_reference_packets () = 68 68 let rows = 69 - match Csvt.decode_file packet_codec (trace "packets.csv") with 69 + match Csv.decode_file packet_codec (trace "packets.csv") with 70 70 | Ok rows -> rows 71 71 | Error e -> Alcotest.failf "CSV decode: %s" e 72 72 in ··· 87 87 88 88 let encode_matches_reference () = 89 89 let rows = 90 - match Csvt.decode_file packet_codec (trace "packets.csv") with 90 + match Csv.decode_file packet_codec (trace "packets.csv") with 91 91 | Ok rows -> rows 92 92 | Error e -> Alcotest.failf "CSV decode: %s" e 93 93 in