mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-20 03:57:30 +08:00
- 新增 `fresh` 和 `async_fresh` 用于在同步和异步函数中 临时禁用缓存。 - 通过 `_fresh` 这一 contextvars 变量实现上下文感知的 缓存刷新机制 - 修改了 `cached` 装饰器逻辑,在 `is_fresh()` 为 True 时跳过缓存读取。 - 修复 download 模块中路径处理问题,使用 `Path.as_posix()` 确保跨平台兼容性。