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

deprecate storing piece layers in torrent_info #7866

Merged
merged 1 commit into from
Feb 13, 2025
Merged

Conversation

arvidn
Copy link
Owner

@arvidn arvidn commented Feb 12, 2025

in favor of add_torrent_params

// layers. In that state, you cannot create a .torrent file from the
// torrent_info returned. Once the torrent completes downloading all
// files, becoming a seed, you can make a .torrent file from it.
std::shared_ptr<const torrent_info> torrent_file() const;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't call it a torrent_file anymore. It's confusing.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I intend to introduce aliases.

@arvidn arvidn force-pushed the deprecate-piece-layers branch from 3fb0bd1 to dda0a34 Compare February 13, 2025 15:21
@arvidn arvidn merged commit b616aa1 into master Feb 13, 2025
40 of 41 checks passed
@arvidn arvidn deleted the deprecate-piece-layers branch February 13, 2025 19:05
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.

2 participants