projects
/
btrtrc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5f8880
)
Export torrent.String to Torrent
author
Matt Joiner <anacrolix@gmail.com>
Sat, 20 Feb 2016 03:39:56 +0000 (14:39 +1100)
committer
Matt Joiner <anacrolix@gmail.com>
Sat, 20 Feb 2016 03:39:56 +0000 (14:39 +1100)
t.go
patch
|
blob
|
history
diff --git
a/t.go
b/t.go
index 23e00c002def6a12c97224a4056a99c01bdf11b9..ecbcdbf6a4a44e1c2b67527f60371501405fc437 100644
(file)
--- 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()
+}