From: Matt Joiner Date: Sat, 20 Feb 2016 03:39:56 +0000 (+1100) Subject: Export torrent.String to Torrent X-Git-Tag: v1.0.0~879 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=3c801bed27de5ea946879194b72885207875d343;p=btrtrc.git Export torrent.String to Torrent --- diff --git a/t.go b/t.go index 23e00c00..ecbcdbf6 100644 --- a/t.go +++ b/t.go @@ -154,3 +154,7 @@ func (t Torrent) CancelPieces(begin, end int) { defer t.cl.mu.Unlock() t.torrent.unpendPieceRange(begin, end) } + +func (t Torrent) String() string { + return t.torrent.String() +}