alist icon indicating copy to clipboard operation
alist copied to clipboard

perf(123pan):Add Copy

Open xxxxxfpx opened this issue 7 months ago • 1 comments

xxxxxfpx avatar May 26 '25 04:05 xxxxxfpx

Walkthrough

This pull request introduces a new Copy function to the Pan123 driver, enabling the copying of files from a source object to a destination directory. The implementation involves constructing a JSON payload with file details and sending a POST request to the API endpoint.

Changes

File Summary
drivers/123/driver.go Added a Copy method to the Pan123 struct, replacing the previous NotSupport error with functionality to copy files using an API request.
drivers/123/util.go Introduced a new API endpoint constant Copy for the copy operation.

petercat-assistant[bot] avatar May 26 '25 04:05 petercat-assistant[bot]