mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-09-19 12:06:40 +08:00
refactor(config): 统一共享配置模板来源
This commit is contained in:
+7
-1
@@ -1,6 +1,6 @@
|
||||
# BlueArchiveToolkit 当前工作区状态
|
||||
|
||||
- **更新时间**:2026-09-13
|
||||
- **更新时间**:2026-09-19
|
||||
- **状态来源**:本地工作区盘点、代码验证和最新提交
|
||||
- **状态分支**:`experiment`
|
||||
- **最新已推送功能提交**:以当前 `git log --oneline -1` 为准
|
||||
@@ -188,6 +188,12 @@ marker 存在时才保持兼容 key,无法证明归属时拒绝 cleanup;完
|
||||
- `FileSystemCasRepository` 作为 `bat-core::CasRepository` 适配层。
|
||||
- `InMemoryResourceRepository`。
|
||||
- `SqliteResourceRepository`。
|
||||
- `ResourceQuery.path_pattern` 使用 `bat-core` 共享的 Unicode scalar 动态规划 matcher;
|
||||
`*` / `**` / `?`、路径分隔符和字面量特殊字符的语义在 InMemory/SQLite 间一致。
|
||||
SQLite 只做候选过滤并由最终 matcher 判定,带路径或 metadata 后置过滤的
|
||||
`count()` 与 `list()` 精确相等。
|
||||
- Rust `bat` 与 Go `bat-api` 都从 `internal/configtemplate/config.toml.example`
|
||||
生成共享配置模板,仓库内 `cmd/bat-api/config.toml.example` 由一致性测试锁定为相同字节。
|
||||
- 官方 pull plan 构建。
|
||||
- `OfficialResourcePullService`:官方 URL 拒绝策略、目标路径映射、下载 manifest、下载 quarantine、`.part` 续传、curl 代理配置、403/404/5xx 分类重试、ZIP 结构校验、官方 seed `.hash` 校验、本地全量 verify。
|
||||
- `OfficialUpdateService`:官方 metadata auto-discover、bootstrap cache、snapshot diff、marker diff、本地 audit/repair、失败 staging 恢复。
|
||||
|
||||
Reference in New Issue
Block a user