From 3c801bed27de5ea946879194b72885207875d343 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sat, 20 Feb 2016 14:39:56 +1100 Subject: [PATCH] Export torrent.String to Torrent --- t.go | 4 ++++ 1 file changed, 4 insertions(+) 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() +} -- 2.48.1