From 1ac83d1ed053aa95f9ac86323d2e5d2f49d4677d Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 10 Jul 2016 15:47:42 +0200 Subject: Rename FindFile --- meta/torrent_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/torrent_test.go') diff --git a/meta/torrent_test.go b/meta/torrent_test.go index d393e45..75cccc9 100644 --- a/meta/torrent_test.go +++ b/meta/torrent_test.go @@ -33,7 +33,7 @@ func TestPieces(t *testing.T) { t.Error(err) } for i, p := range tor.Info.GetPieces() { - n, off := tor.Info.FindFile(p.Offset) + n, off := tor.Info.findFirstFile(p.Offset) t.Log(i, n, off) } } -- cgit v1.2.3