]> Sergey Matveev's repositories - btrtrc.git/commit
Add storage/disabled
authorMatt Joiner <anacrolix@gmail.com>
Mon, 24 May 2021 07:38:09 +0000 (17:38 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 7 Jun 2021 03:01:40 +0000 (13:01 +1000)
commitef39f408fe7cb1fa4f5b38b9166da18a2282b066
treee33dabe8db00fbf0966a90d5f27b0497c23478b7
parentbc186ac2114b21b2115ae5737fc4a081fbe247da
Add storage/disabled

The default storage will create empty files on torrent open, which is undesirable in some circumstances. This storage implementation is explicit about not storing anything.
storage/disabled/disabled.go [new file with mode: 0644]