tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
https://turso.tech/libsql
MIT License
9.54k stars 252 forks source link

libsql: provide more return info for sync #1592

Closed LucioFranco closed 1 month ago

LucioFranco commented 2 months ago

This PR changes the return type of sync to a struct that provides the current commit fno and how many frames that sync call required. This should give more insight to users to understand how much data has been synced.

LucioFranco commented 1 month ago

It is not helping in review that you're reformatting code not changed in the PR.

I am not sure why my editor is formatting something but running cargo fmt isn't. I need to look into that since those changes should be enforced by CI.