mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 00:39:47 +08:00
Merge the six DT-22 regression cases (previously on a separate test_file_library_deletion.py branch) into the existing per-module test file, right after the delete_file / hard_delete_file sections: - successful delete prunes now-empty parents, keeps non-empty ones and the library root itself - missing on-disk target is a silent no-op; hard delete still clears the DB row when the disk file vanished out-of-band - unlink failure is only logged (list-vs-disk inconsistency window) - an exception while pruning parents is swallowed: file still removed, empty dirs left behind, caller unaffected (current behaviour pinned) Coverage of deeptutor.services.storage.file_library: 84% -> 87% (196-197 and 203-206 now covered). No product code changes. Co-authored-by: XZH <cto@xzh.ai>