Export torrent.String to Torrent

This commit is contained in:
Matt Joiner 2016-02-20 14:39:56 +11:00
parent d5f888069f
commit 3c801bed27
1 changed files with 4 additions and 0 deletions

4
t.go
View File

@ -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()
}