mirror of
https://github.com/ankitects/anki.git
synced 2025-11-16 17:47:11 -05:00
Anki is a smart spaced repetition flashcard program
- mtime is tracked on each key individually, which will allow
merging of config changes when syncing in the future
- added col.(get|set|remove)_config()
- in order to support existing code that was mutating returned
values (eg col.conf["something"]["another"] = 5), the returned list/dict
will be automatically wrapped so that when the value is dropped, it
will save the mutated item back to the DB if it's changed. Code that
is fetching lists/dicts from the config like so:
col.conf["foo"]["bar"] = baz
col.setMod()
will continue to work in most case, but should be gradually updated to:
conf = col.get_config("foo")
conf["bar"] = baz
col.set_config("foo", conf)
|
||
|---|---|---|
| .github | ||
| meta | ||
| proto | ||
| pylib | ||
| qt | ||
| rslib | ||
| rspy | ||
| .gitattributes | ||
| .gitignore | ||
| CONTRIBUTORS | ||
| LICENSE | ||
| Makefile | ||
| pkgkey.asc | ||
| README.contributing | ||
| README.development | ||
| README.md | ||
| run | ||
This repo contains all the code for the computer version of Anki.
If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://anki.tenderapp.com/discussions/beta-testing
For more information on building, please see README.development
If you'd like to contribute code, please see README.contributing