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

Add torrent.path property and update README with new properties #410

Merged
merged 3 commits into from Aug 28, 2015
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Next

Add torrent.path

  • Loading branch information
Stiveknx committed Aug 25, 2015
commit 0608a58c3bd1dbd8bd16c67cb6e5b2e516c24652
@@ -99,6 +99,11 @@ Object.defineProperty(Torrent.prototype, 'timeRemaining', {
}
})

// Torrent Path
Object.defineProperty(Torrent.prototype, 'path', {
get: function () { return this._path; }
})

// Bytes completed (excluding invalid data)
Object.defineProperty(Torrent.prototype, 'downloaded', {
get: function () {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.