]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Trivial
authorMatt Joiner <anacrolix@gmail.com>
Mon, 1 Dec 2014 22:40:18 +0000 (16:40 -0600)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 1 Dec 2014 22:40:18 +0000 (16:40 -0600)
metainfo.go
torrent.go

index 73429d50271843d34a3e3b5a51c3ec48c7305f97..f1434020755f93f71f851076e7c5dfa7c787f19e 100644 (file)
@@ -2,6 +2,7 @@ package torrent
 
 import "github.com/anacrolix/libtorgo/metainfo"
 
+// A wrapper around the raw info that provides some helper methods.
 type MetaInfo struct {
        *metainfo.Info
 }
index 40fb3d580400e24e6db4112aa9acb95041ca6b1c..a4c002d42620b46d07815eb3dcc89ec0f13ec963 100644 (file)
@@ -9,6 +9,7 @@ import (
        "net"
        "sort"
        "sync"
+       "time"
 
        "bitbucket.org/anacrolix/go.torrent/util"