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 local file deletion on `torrent.destroy` #1102

Open
wants to merge 4 commits into
base: master
from
Commits on Apr 13, 2017
  1. Add local file deletion on `torrent.destroy`

    Rowern committed Apr 13, 2017
    When we call `torrent.destroy` and we are not running in a browser, we use
    `rimraf` to delete the folder containing the torrent files.
  2. Create a `torrent.delete` method to erase data

    Rowern committed Apr 13, 2017
Commits on Apr 14, 2017
  1. Add opts to `client.remove` and `torrent.destroy`

    Rowern committed Apr 14, 2017
    Add an optional `opts` to `client.remove` and `torrent.remove`,
    if this `opts` set `remove` to `true`, then we call `store.destroy`
    instead of `store.close`.
Commits on Apr 15, 2017
  1. Add check on `fs.stat` for browser compatibility

    Rowern committed Apr 15, 2017
You can’t perform that action at this time.