Minimal SQLite key-value store for OCaml
0
fork

Configure Feed

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

fix(lint): replace Printf/Format with Fmt across remaining packages

Migrate Printf.sprintf to Fmt.str, Format.fprintf to Fmt.pf, and
Format.pp_print_string to Fmt.string across bundle, gpt, hap, homebrew,
jsonwt, matter, mbr, meross, paseto, precommit, publicsuffix, qemu,
retry, sdnv, slack, sle, space-packet, spake2, sqlite, squashfs, tar,
tc, tcf, tcpcl, tm, tomlt, tty, uslp, vlog, wal, wire, yamlrw, yamlt,
osrelease, space, xdge, and crypto test runner.

+2 -2
+1 -1
lib/dune
··· 1 1 (library 2 2 (name sqlite) 3 3 (public_name sqlite) 4 - (libraries btree eio)) 4 + (libraries btree eio fmt))
+1 -1
lib/sqlite.ml
··· 158 158 159 159 let create parent ~name = 160 160 if not (valid_name name) then 161 - invalid_arg (Printf.sprintf "Invalid table name: %S" name); 161 + invalid_arg (Fmt.str "Invalid table name: %S" name); 162 162 match Hashtbl.find_opt parent.tables name with 163 163 | Some (index, _) -> { parent; name; index } 164 164 | None ->