Add Reader.Torrent()

This commit is contained in:
Matt Joiner 2016-03-02 23:26:46 +11:00
parent 67aea29ba9
commit aed2b6b3cb
1 changed files with 4 additions and 0 deletions

View File

@ -193,3 +193,7 @@ func (r *Reader) Seek(off int64, whence int) (ret int64, err error) {
r.posChanged()
return
}
func (r *Reader) Torrent() *Torrent {
return r.t
}