mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Move the flush to immediately before FileGroup.move so it covers every deletion queued in this function, not only the one found by get_by_path. The earlier missing-file deletions were already reaching the DB -- the get_by_path query autoflushes them -- but that is an incidental property of the query sitting between them and the rename, not something the rename should depend on. Also assert the kept Video's old path is gone, so the test reads a move rather than a copy. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| archive | ||
| docs | ||
| flasher | ||
| inventory | ||
| map | ||
| videos | ||
| zim | ||
| __init__.py | ||