From 15df286c513c8433990b0e71b256aeec6ede6e56 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 23 Nov 2016 17:31:50 -0300 Subject: document "file.downloaded" --- docs/api.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/api.md b/docs/api.md index 7fcbaaf..0de88ea 100644 --- a/docs/api.md +++ b/docs/api.md @@ -460,6 +460,10 @@ File path, as specified by the torrent. *Example: 'some-folder/some-filename.txt File length (in bytes), as specified by the torrent. *Example: 12345* +## `file.downloaded` + +Total *verified* bytes received from peers, for this file. + ## `file.select()` Selects the file to be downloaded, but at a lower priority than files with streams. -- cgit v1.2.3