diff options
author | André Stein <stivekx@gmail.com> | 2015-08-25 07:48:28 +0300 |
---|---|---|
committer | André Stein <stivekx@gmail.com> | 2015-08-25 07:48:28 +0300 |
commit | 0608a58c3bd1dbd8bd16c67cb6e5b2e516c24652 (patch) | |
tree | 7c26b2669da9100ed0380e6c3d239ec4bae78621 /lib | |
parent | c1b5867b6b837b70349bd99f1b6e60c570117742 (diff) |
Add torrent.path
Diffstat (limited to 'lib')
-rw-r--r-- | lib/torrent.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/torrent.js b/lib/torrent.js index c3a9cf4..c7c7521 100644 --- a/lib/torrent.js +++ b/lib/torrent.js @@ -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 () { |