kcl-lang / kpm

KCL Package Manager
https://kcl-lang.io
Apache License 2.0
27 stars 44 forks source link

feat: GitDownloader supports cache #505

Closed zong-zhe closed 3 weeks ago

zong-zhe commented 3 weeks ago

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

re #384

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

coveralls commented 3 weeks ago

Pull Request Test Coverage Report for Build 11551360709

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/git/getter.go 7 9 77.78%
pkg/downloader/source.go 11 16 68.75%
pkg/git/git.go 0 7 0.0%
pkg/downloader/downloader.go 39 77 50.65%
<!-- Total: 57 109 52.29% -->
Totals Coverage Status
Change from base Build 11477327992: 0.2%
Covered Lines: 3653
Relevant Lines: 8756

💛 - Coveralls