anacrolix / anacrolix/torrent

Torrent data/piece-completion clean-up

Open
#238 4 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted low-priority
Dominant language
Go
Stars
6.1k
Forks
690
Avg merge
3d 10h
Merged PRs (30d)
12

Description

The storage implementations(i.e. file) should support clean-up/remove ops as well. Currently even if you `Drop` the torrent you still have to deal with the torrent data removal. So a method such ``RemoveTorrent(infoHash metainfo.Hash)error`` could fix this issue.
This feature is required if you want to develop applications friendly with the peers and at the same time keep the data stored/seeded under your system limits. It would allow us to create various policies (e.g. store and keep active only the latest 3 torrents or torrents of totalling X GB size )

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.