Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(url-tree): support url tree driver writing #7779

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

KirCute
Copy link
Contributor

@KirCute KirCute commented Jan 5, 2025

Add a driver interface PutURL(ctx context.Context, dstDir model.Obj, name, url string):

When a user attempts to use SimpleHttp for offline downloading in a driver that implements this interface, the offline download tool will not be invoked. Instead, the PutURL method of the driver will be called.

Additionally implement the following interfaces for the UrlTree driver:

  • MakeDir
  • Move
  • Rename
  • Copy
  • Remove
  • PutURL

Closes #5166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

地址树:允许重命名、复制、移动等操作
1 participant