fsspec / ossfs

fsspec filesystem for Alibaba Cloud (Aliyun) Object Storage System (OSS)
Apache License 2.0
19 stars 10 forks source link

Implement `copy` related operations for the AysncOSSFileSystem #110

Closed karajan1001 closed 1 year ago

karajan1001 commented 1 year ago

fix: #94

  1. Add _cp_file and _copy methods and some tests for it.
  2. Add tests for async mv and cp
codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 68.75% and project coverage change: -0.24 :warning:

Comparison is base (9505331) 91.85% compared to head (7251382) 91.62%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #110 +/- ## ========================================== - Coverage 91.85% 91.62% -0.24% ========================================== Files 13 13 Lines 1597 1611 +14 Branches 299 303 +4 ========================================== + Hits 1467 1476 +9 - Misses 88 92 +4 - Partials 42 43 +1 ``` | [Impacted Files](https://codecov.io/gh/fsspec/ossfs/pull/110?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/ossfs/async\_oss.py](https://codecov.io/gh/fsspec/ossfs/pull/110?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL29zc2ZzL2FzeW5jX29zcy5weQ==) | `77.14% <54.54%> (-1.07%)` | :arrow_down: | | [src/ossfs/core.py](https://codecov.io/gh/fsspec/ossfs/pull/110?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL29zc2ZzL2NvcmUucHk=) | `82.81% <100.00%> (ø)` | | | [tests/test\_object.py](https://codecov.io/gh/fsspec/ossfs/pull/110?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-dGVzdHMvdGVzdF9vYmplY3QucHk=) | `99.49% <100.00%> (+<0.01%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.