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
path: root/docs
diff options
context:
space:
mode:
authordevelopomp <developomp@gmail.com>2021-12-08 05:43:27 +0300
committerGitHub <noreply@github.com>2021-12-08 05:43:27 +0300
commit8429cfd1cc63f520f02c430c91c82ae5688f684f (patch)
tree9cc0727e155c76e73af7b7380f70db45e2c16d33 /docs
parentfd22cf809e1cb315fc7f701a71fefd6289e941f0 (diff)
Added missing comma from api.md (#2231)
Diffstat (limited to 'docs')
-rw-r--r--docs/api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api.md b/docs/api.md
index 2491fa5..1597707 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -106,7 +106,7 @@ If `opts` is specified, then the default options (shown below) will be overridde
path: String, // Folder to download files to (default=`/tmp/webtorrent/`)
private: Boolean, // If true, client will not share the hash with the DHT nor with PEX (default is the privacy of the parsed torrent)
store: Function, // Custom chunk store (must follow [abstract-chunk-store](https://www.npmjs.com/package/abstract-chunk-store) API)
- destroyStoreOnDestroy: Boolean // If truthy, client will delete the torrent's chunk store (e.g. files on disk) when the torrent is destroyed
+ destroyStoreOnDestroy: Boolean, // If truthy, client will delete the torrent's chunk store (e.g. files on disk) when the torrent is destroyed
storeCacheSlots: Number, // Number of chunk store entries (torrent pieces) to cache in memory [default=20]; 0 to disable caching
storeOpts: Object, // Custom options passed to the store
addUID: Boolean, // (Node.js only) If true, the torrent will be stored in it's infoHash folder to prevent file name collisions (default=false)