Matt Joiner
|
cb1bf0f413
|
goimports -local
|
2019-08-21 20:58:40 +10:00 |
Matt Joiner
|
fc4fab91f5
|
Switch to goimports import sorting
Used to use sortimports, but it's old, and goimports seems to have an opinion now.
|
2018-11-02 23:12:01 +11:00 |
Matt Joiner
|
da9cbc7cf0
|
metainfo: Omit empty Metainfo.InfoBytes
|
2017-11-08 19:57:05 +11:00 |
Matt Joiner
|
2a1cef7c9e
|
Remove the InfoEx type, and don't generate its infohash on the fly
Fixes #106.
|
2016-08-26 20:29:05 +10:00 |
Matt Joiner
|
2d160b0419
|
metainfo.InfoEx.Hash becomes a function, UpdateBytes is added, and Bytes used in marshalling
Fixes #80.
|
2016-05-05 22:40:38 +10:00 |
Matt Joiner
|
a04fb2ce26
|
metainfo: Check for error unmarshalling bad nodes contents from a metainfo
|
2016-02-23 23:53:39 +11:00 |
Matt Joiner
|
d67379b3cb
|
metainfo: Ensure that nodes encode correctly
|
2016-02-23 22:37:38 +11:00 |
Matt Joiner
|
752e884155
|
metainfo: Support nodes as []string or [](string, int64)
Fixes #65.
|
2016-02-23 22:28:23 +11:00 |
Matt Joiner
|
b3a5591d14
|
metainfo: It looks like the "nodes" field of metainfo was never handled correctly, support []string instead of [][]string, fix tests
|
2016-02-23 22:04:06 +11:00 |