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
add a public version of Torrent.numPiecesCompleted() #352
Comments
Was there a PR with this? Have you tried using |
There's |
What I mean is that you could collect this data yourself by checking each Piece. Something like
|
imo could be added to torrent stats. |
@nektro any update on this? Is the suggested workaround okay for you? |
If it returns the same number then I can copy/paste the internal implementation sure, but the issue was asking if this method would be exposed publicly without having to make my own function (since it already exists privately (lowercase name)). |
@nektro I wouldn't want to expose a method just for this, if it can be bundled into some other method that requires a lock (like torrent stats per @james-lawrence suggestion). |
Added this to stats. |
No description provided.
The text was updated successfully, but these errors were encountered: