Fix comment

This commit is contained in:
Michał Gątkowski 2022-08-10 01:17:25 +02:00
parent f69836ad09
commit 7ff7dc4b06

View File

@ -37,7 +37,7 @@ type Database interface {
lastOrderedValue *float64,
lastID *uint64,
) ([]TorrentMetadata, error)
// GetTorrents returns the TorrentExtMetadata for the torrent of the given InfoHash. Will return
// GetTorrent returns the TorrentExtMetadata for the torrent of the given InfoHash. Will return
// nil, nil if the torrent does not exist in the database.
GetTorrent(infoHash []byte) (*TorrentMetadata, error)
GetFiles(infoHash []byte) ([]File, error)