mirror of
https://github.com/ankitects/anki.git
synced 2025-11-26 14:37:14 -05:00
Fixes the following issue: - some code directly modifies the database, causing modified_in_python to be set to true - an undoable operation is run, which calls autosave() at the end - autosave() notices there's an undoable operation, and commits immediately - because modified_in_python was true, col.mtime was bumped in Python - that invalidated the undo queue, preventing the operation from being undone |
||
|---|---|---|
| .. | ||
| .cargo | ||
| build | ||
| cargo | ||
| src | ||
| templates | ||
| tests/support | ||
| .clang-format | ||
| .gitignore | ||
| backend.proto | ||
| BUILD.bazel | ||
| Cargo.toml | ||
| clang_format.bzl | ||
| proto_format.py | ||
| README.md | ||
| rustfmt.bzl | ||
Anki's Rust code.
backend.proto stores the interfaces used to communicate backend messages between Rust, Python and TypeScript.