Skip to content

API to reset local changes #107

Closed
@wonder-sk

Description

@wonder-sk

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions