changed parser func signatures

This commit is contained in:
Timon Ringwald 2022-08-03 23:37:59 +02:00
parent 9cf2051d34
commit a743768661
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
package model package model
type FileParserFunc func(str string) (file *ParsedFile, ok bool) type FileParserFunc func(parser *Parser, str string) (file *ParsedFile, ok bool)

View File

@ -1,3 +1,3 @@
package model package model
type TorrentParserFunc func(torrent *Torrent) (parsedTorrent *ParsedTorrent, ok bool) type TorrentParserFunc func(parser *Parser, torrent *Torrent) (parsedTorrent *ParsedTorrent, ok bool)