Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
5905930
wip: 暂存
share121 Jun 19, 2026
a7d2a61
feat: 初步实现下载
share121 Jul 20, 2026
958475a
feat: 优化代码
share121 Jul 21, 2026
ff15cb6
feat: 修复 resume 功能
share121 Jul 24, 2026
8e73a3a
fix: 修复 gen_path 对 config.save_dir 的长路径处理问题
share121 Jul 24, 2026
2c24c96
chore: 默认 url 改为 about:blank 更合规范
share121 Jul 24, 2026
2174585
ci: 修复本地路径导致的 ci 报错
share121 Jul 24, 2026
9aa1881
wip: 写一半
share121 Jul 24, 2026
58a41ad
feat: 提供详细 prefetch error
share121 Jul 26, 2026
bc8cb7c
feat: 实现下载模块
share121 Jul 26, 2026
0178df7
feat: 优化代码
share121 Jul 27, 2026
3ed6c6e
feat(fast-pull): SharedHandle 支持 clone
share121 Jul 27, 2026
b4b19cb
refactor(fast-down-api): 简化代码
share121 Jul 27, 2026
f2edb4a
refactor(fast-down-api): 优化参数命名
share121 Jul 27, 2026
7a7f839
feat(fast-pull): 完善类型提示
share121 Jul 27, 2026
6e76b2e
fix:(fast-down): 修复 url 做文件名时,误把 .com 当成扩展名的bug
share121 Jul 27, 2026
a9da073
refactor(fast-down-api): 全面重构
share121 Jul 28, 2026
12e7990
fix: 修复 clippy 错误
share121 Jul 28, 2026
af9fb01
docs: 优化文档
share121 Jul 28, 2026
0c30ac1
fix(fast-pull): 修复 merge_progress 在处理 `1..1` `3..1` 等错误范围时的bug
share121 Jul 28, 2026
467fea5
fix(fast-down-api): 修复测试错误
share121 Jul 28, 2026
3c92b9a
test: 添加大量测试
share121 Jul 28, 2026
f5933bb
feat(fast-down-api): 添加测试率覆盖工具
share121 Jul 28, 2026
f74bf7b
feat: 添加测试覆盖率工具
share121 Jul 28, 2026
e8113e7
ci: bump codecov-action to v7 (Node 24, drop Node 20 deprecation warn…
share121 Jul 28, 2026
76a6842
fix: 修复 ci 错误
share121 Jul 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Coverage

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

jobs:
coverage:
name: Code Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview

- name: Cache
uses: swatinem/rust-cache@v2
with:
shared-key: "ubuntu-stable-coverage"
add-job-id-key: "false"
cache-on-failure: "true"
cache-all-crates: "true"
cache-workspace-crates: "true"
save-if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' }}

- name: Install cargo-llvm-cov
uses: taiki-e/install-action@v2
with:
tool: cargo-llvm-cov

- name: Generate coverage (lcov)
run: cargo llvm-cov --workspace --all-features --lcov --output-path lcov.info

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v7
with:
files: lcov.info
fail_ci_if_error: false
Loading