HTTP types: headers, status codes, methods, bodies, MIME types
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.

+6 -6
+1 -1
test/interop/boto3/dune
··· 1 1 (test 2 2 (name test) 3 - (libraries http csvt alcotest fmt) 3 + (libraries http csv alcotest fmt) 4 4 (deps 5 5 (source_tree traces) 6 6 (source_tree scripts)))
+5 -5
test/interop/boto3/test.ml
··· 25 25 Bytes.unsafe_to_string b 26 26 27 27 let fixture_codec = 28 - Csvt.Row.( 28 + Csv.Row.( 29 29 obj (fun name input_hex expected_hex -> 30 30 { 31 31 name; 32 32 input = hex_to_bytes input_hex; 33 33 expected = hex_to_bytes expected_hex; 34 34 }) 35 - |> col "name" Csvt.string ~enc:(fun r -> r.name) 36 - |> col "input_hex" Csvt.string ~enc:(fun _ -> "") 37 - |> col "expected_hex" Csvt.string ~enc:(fun _ -> "") 35 + |> col "name" Csv.string ~enc:(fun r -> r.name) 36 + |> col "input_hex" Csv.string ~enc:(fun _ -> "") 37 + |> col "expected_hex" Csv.string ~enc:(fun _ -> "") 38 38 |> finish) 39 39 40 40 let load_fixtures () = 41 - match Csvt.decode_file fixture_codec trace_path with 41 + match Csv.decode_file fixture_codec trace_path with 42 42 | Ok rows -> rows 43 43 | Error e -> Alcotest.failf "CSV decode: %s" e 44 44