Anki/rslib/src/media
RumovZ 16fe18d033
Refactor export-import code and resolve fixmes (#1723)
* Write media files in chunks

* Test media file writing

* Add iter `ReadDirFiles`

* Remove ImportMediaError, fail fatally instead

Partially reverts commit f8ed4d89ba.

* Compare hashes of media files to be restored

* Improve `MediaCopier::copy()`

* Restore media files atomically with tempfile

* Make downgrade flag an enum

* Remove SchemaVersion::Latest in favour of Option

* Remove sha1 comparison again

* Remove unnecessary repr(u8) (dae)
2022-03-18 19:31:55 +10:00
..
changetracker.rs fix clippy lints for latest Rust 2021-06-21 13:09:36 +10:00
check.rs Garbage collect unused Fluent strings (#1482) 2021-11-12 18:19:01 +10:00
database.rs update to latest rusqlite 2021-06-25 16:22:21 +10:00
files.rs Refactor export-import code and resolve fixmes (#1723) 2022-03-18 19:31:55 +10:00
mod.rs fix clippy lints for latest Rust 2021-06-21 13:09:36 +10:00
schema.sql fix some comments in wrong position after format 2021-01-09 14:26:51 +10:00
sync.rs fix clippy lints for latest Rust 2021-06-21 13:09:36 +10:00