cloud-py-api / nc_py_api

Nextcloud Python Framework
https://cloud-py-api.github.io/nc_py_api/
Other
86 stars 4 forks source link

use existing `_session.download2fp` method [refactor] #203

Closed bigcat88 closed 8 months ago

bigcat88 commented 8 months ago

Just refactoring, remove redundant code.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6ef2d85) 99.80% compared to head (8dbd566) 99.80%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #203 +/- ## ========================================== - Coverage 99.80% 99.80% -0.01% ========================================== Files 40 40 Lines 4707 4701 -6 ========================================== - Hits 4698 4692 -6 Misses 9 9 ``` | [Files](https://app.codecov.io/gh/cloud-py-api/nc_py_api/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cloud-py-api) | Coverage Δ | | |---|---|---| | [nc\_py\_api/\_session.py](https://app.codecov.io/gh/cloud-py-api/nc_py_api/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cloud-py-api#diff-bmNfcHlfYXBpL19zZXNzaW9uLnB5) | `100.00% <100.00%> (ø)` | | | [nc\_py\_api/files/files.py](https://app.codecov.io/gh/cloud-py-api/nc_py_api/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cloud-py-api#diff-bmNfcHlfYXBpL2ZpbGVzL2ZpbGVzLnB5) | `100.00% <100.00%> (ø)` | |