Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2015-08-22 18:35:02 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-08-22 18:35:02 +0300
commita14123fa14f78615d80a6bfd70b0cd91ef11ac13 (patch)
tree667892e4d2a0e13383995c389817d5ab8141cd7a /index.js
parent384b442f66d94e8e01eee499f69141727c925840 (diff)
BREAKING: rename `torrent.storage` to `torrent.store`
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 3a404b2..1f24c4b 100644
--- a/index.js
+++ b/index.js
@@ -193,7 +193,7 @@ WebTorrent.prototype.seed = function (input, opts, onseed) {
debug('seed')
if (!opts) opts = {}
- // When seeding from filesystem path, storage should use existing location
+ // When seeding from filesystem, initialize store from that path (avoids a copy)
if (typeof input === 'string') opts.path = path.dirname(input)
if (!opts.createdBy) opts.createdBy = 'WebTorrent/' + VERSION