]> Sergey Matveev's repositories - btrtrc.git/commit
Multiple file metainfo mode support in cmd tools
authorMilos Gajdos <milosgajdos83@gmail.com>
Sat, 16 May 2015 12:23:33 +0000 (13:23 +0100)
committerMilos Gajdos <milosgajdos83@gmail.com>
Sat, 16 May 2015 12:23:33 +0000 (13:23 +0100)
commite6e0b227dabee4a8f46565af1b93e9a00713bcc5
tree3caba376add29922e26e6df18a362abe4cb29ff6
parentdfada8514e43498634b5e52fbf740e84b8a6bd49
Multiple file metainfo mode support in cmd tools

torrent-create and torrent-verify did not work correctly when a single
file is present in metainfo torrent file. torrent-create now fails if
the path passed as an argument does not exist. I've als modified
dht.go which now handles the case when an empty string is passed in
DHT bootstrap nodes slice. Finally in span.go I've sneaked in cheekily
a change which defines a type more like idiomatic Go (I have an OCD :-))
cmd/torrent-create/main.go
cmd/torrent-verify/main.go
dht/dht.go
mmap_span/span.go