]> Sergey Matveev's repositories - btrtrc.git/commit
Simplify the torrent Data interface
authorMatt Joiner <anacrolix@gmail.com>
Thu, 1 Oct 2015 14:09:04 +0000 (00:09 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 1 Oct 2015 14:09:04 +0000 (00:09 +1000)
commitb7a8bb7570a5c667b5fb6d29bf0b4b142eaedbdb
tree020b4315baaf09703d3f9a5fbc1273380a3c2d05
parentafece1f67fc023031149375141e57a21873e6f8b
Simplify the torrent Data interface

None of the methods are optional anymore. Removed the nasty wrappers for some data implementations. Moved data.Data back into the main torrent package. Should make it much easier to understand for people implementing their own Data implementations.
client.go
client_test.go
data.go [new file with mode: 0644]
data/blob/store.go
data/data.go [deleted file]
data/file/file.go
data/mmap/mmap.go
fs/torrentfs_test.go
stateless.go [deleted file]
torrent.go