Matt Joiner
126447260f
Fix import cycle
2015-10-02 00:16:25 +10:00
Matt Joiner
b7a8bb7570
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.
2015-10-02 00:09:04 +10:00
Matt Joiner
afece1f67f
Match the names used in other blob implementations
2015-10-01 15:41:30 +10:00
Matt Joiner
50ce70c47a
Fix locking in data/blob
2015-08-03 14:24:59 +10:00
Matt Joiner
665e3c72fc
AccessTime helper moved to missinggo
2015-06-01 18:26:32 +10:00
Matt Joiner
d87ae4f6a9
data/blob: Tidy error handling in WriteSectionTo
2015-05-20 22:21:20 +10:00
Matt Joiner
dfada8514e
Fix panic on unexpected files in the blob store "completed" directory
2015-05-16 10:52:35 +10:00
Matt Joiner
c5208569ca
Apply sortimports
2015-04-30 00:31:34 +10:00
Matt Joiner
526d9d738e
Rewrite imports to local bencode and metainfo
2015-04-27 14:55:01 +10:00
Matt Joiner
1ce84f664e
Fix a few minor data races
2015-03-30 23:10:37 +11:00
Matt Joiner
3aa78763aa
Use rogpeppe's sortimports to fix this goimports ordering madness
2015-03-26 17:18:08 +11:00
Matt Joiner
842a32ae0c
Rewrite import paths for migration from Bitbucket
2015-03-20 16:37:44 +11:00
Matt Joiner
a451bc7e6d
Handle data going missing
2015-03-18 18:35:22 +11:00
Matt Joiner
28455fb817
Speed up stuff relating to checking piece completion
2015-03-18 18:34:35 +11:00
Matt Joiner
8d58fc28f6
data/blob: Change store eviction to LRU, from random replacement
...
It works *much* better for torrenting with a readahead window. When we want to
avoid downloading, we want to avoid downloading lots of dispersed pieces.
2015-03-18 18:12:46 +11:00
Matt Joiner
e6fbde0dc6
Rework piece completion
2015-03-11 02:41:21 +11:00