Closed
Description
It is often useful to be able to discard any local changes (e.g. unwanted changes to QGIS project). We should have API call in MerginClient that would either discard all changes in a local mergin project directory, or optionally discard only changes in files that are passed in a list.
The implementation would then:
- remove locally added files
- for updated .gpkg files - use make_copy_sqlite from the basefile
- re-download removed or modified files