t.go | 4 ++++ diff --git a/t.go b/t.go index 23e00c002def6a12c97224a4056a99c01bdf11b9..ecbcdbf6a4a44e1c2b67527f60371501405fc437 100644 --- a/t.go +++ b/t.go @@ -154,3 +154,7 @@ t.cl.mu.Lock() defer t.cl.mu.Unlock() t.torrent.unpendPieceRange(begin, end) } + +func (t Torrent) String() string { + return t.torrent.String() +}