canonical / dqlite

Embeddable, replicated and fault-tolerant SQL engine.
https://dqlite.io
Other
3.83k stars 216 forks source link

Format the source tree #498

Closed cole-miller closed 1 year ago

cole-miller commented 1 year ago

Inspired by @freeekanayaka :) I used the existing .clang-format and only fixed a few eyesores.

Signed-off-by: Cole Miller cole.miller@canonical.com

codecov[bot] commented 1 year ago

Codecov Report

Merging #498 (19a7924) into master (3fb4e03) will increase coverage by 0.04%. The diff coverage is 49.15%.

@@            Coverage Diff             @@
##           master     #498      +/-   ##
==========================================
+ Coverage   58.96%   59.01%   +0.04%     
==========================================
  Files          33       33              
  Lines        5900     5929      +29     
  Branches     1764     1764              
==========================================
+ Hits         3479     3499      +20     
- Misses       1354     1363       +9     
  Partials     1067     1067              
Impacted Files Coverage Δ
src/metrics.c 0.00% <0.00%> (ø)
src/transport.c 46.10% <0.00%> (-5.20%) :arrow_down:
src/tuple.c 71.35% <ø> (ø)
src/leader.c 50.18% <3.84%> (-0.19%) :arrow_down:
src/conn.c 48.29% <12.50%> (-0.24%) :arrow_down:
src/gateway.c 43.79% <20.83%> (+0.19%) :arrow_up:
src/query.c 31.81% <27.27%> (+1.81%) :arrow_up:
src/dqlite.c 81.81% <33.33%> (ø)
src/fsm.c 59.12% <47.91%> (+0.13%) :arrow_up:
src/client/protocol.c 33.50% <55.88%> (+0.33%) :arrow_up:
... and 11 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.