nsf
8149db57e0
Omg, haven't tested before committing, what a shame. :D
2012-07-06 02:02:42 +06:00
nsf
20448260d4
Add more parameter checks and cleaning.
2012-07-06 01:14:34 +06:00
nsf
d684312a80
Add Builder docs. A bit shallow for now, but whatever.
2012-07-05 22:47:14 +06:00
nsf
e969be7752
Add Builder interface for creating .torrent files.
2012-07-05 22:44:54 +06:00
nsf
b1a6e3eeef
Add MarshalBencode to the torrent_info_ex, will be used by the Builder.
2012-07-05 22:44:27 +06:00
nsf
ae6df86341
Remove md5sum fields from the encoder/decoder helper structs.
...
There is no need for them.
2012-07-04 05:29:47 +06:00
nsf
cfafbffbc1
Cosmetic change File -> MetaInfo. Update docs as well.
2012-07-02 01:05:10 +06:00
nsf
bac1a906fc
Add torrent.File documentation.
2012-06-30 22:34:18 +06:00
nsf
d0429086be
Add more comments to the bencode library. Implement UnmarshalerError.
2012-06-30 22:26:20 +06:00
nsf
f72bfd8748
Tweak interface slightly.
...
Load instead of Open. Open gives an idea that there should be Close somewhere,
which is not true. Load is load.
Info is now a member instead of an accessor. Who needs these anyway.
2012-06-30 04:23:02 +06:00
nsf
0b385a409b
Add first bits of "torrent" library (.torrent file manipulation).
...
Add missing testdata for bencode also.
2012-06-28 02:26:56 +06:00
nsf
e553531a10
Fix bugs, implement missing bits. Made a mess, can't describe properly.
2012-06-28 02:21:26 +06:00
nsf
110956d936
Fix Marshaler case.
2012-06-24 17:10:53 +06:00
nsf
69d1e17b80
Add MarshalBencode test.
2012-06-24 17:10:27 +06:00
nsf
8db0c29da9
Add bufio.Writer error handling, move Flush to the internal code.
2012-06-24 16:59:04 +06:00
nsf
27b64a002c
Add a couple of decode tests, fix empty slice bug.
2012-06-22 19:34:26 +06:00
nsf
f8f98eb7cd
Add missing interface definitions.
2012-06-22 19:34:04 +06:00
nsf
57c1403300
Uncomment defer recover statement.
2012-06-20 19:34:10 +06:00
nsf
a68e4a6f5a
Initial commit.
2012-06-20 19:21:32 +06:00