]> Sergey Matveev's repositories - btrtrc.git/blob - metainfo/hash.go
Drop support for go 1.20
[btrtrc.git] / metainfo / hash.go
1 package metainfo
2
3 import (
4         "github.com/anacrolix/torrent/types/infohash"
5 )
6
7 // This type has been moved to allow avoiding importing everything in metainfo to get at it.
8
9 const HashSize = infohash.Size
10
11 type Hash = infohash.T
12
13 var (
14         NewHashFromHex = infohash.FromHexString
15         HashBytes      = infohash.HashBytes
16 )