Daniel Speed
Daniel Speed
Sorry, I haven't had much time for this, and currently I can't see when I will in the next few months. Perhaps I'll manage to squeeze some time in somehow.
In this case, the example is generating the index data that it will need to know what blocks to download, rather than downloading it at the start. I should probably...
I'll go through these this weekend and try and clean up and add information. In terms of the major blocker to production usage - as long as you're happy with...
The files are just files. The default http block source uses a Get request on the provided url to the patch command to the uncompressed original source file: https://github.com/Redundancy/go-sync/blob/0efcbc7fb32eedde2f1094f99dfb658328fefde6/blocksources/httpblocksource.go I...
It's a local file in the sense that it uses file open(), not http get, iirc.
Ah, you're right. Should definitely be fixed.
The best example should be the gosync tool (under gosync), although it doesn't implement a full directory sync yet. There are almost certainly a few things that need checking -...
See: https://github.com/Redundancy/go-sync/blob/master/gosync/patch.go (and build)
I've made some improvements that should make it considerably easier and cleaner to do this. It's still missing a number of things, but it should be a much saner proposition....
It's quite possible that there is a bug. The was at least one test that was failing intermittently likely with a race condition. Since I can't work on this due...