changed parser func signatures
This commit is contained in:
parent
9cf2051d34
commit
a743768661
@ -1,3 +1,3 @@
|
||||
package model
|
||||
|
||||
type FileParserFunc func(str string) (file *ParsedFile, ok bool)
|
||||
type FileParserFunc func(parser *Parser, str string) (file *ParsedFile, ok bool)
|
||||
|
@ -1,3 +1,3 @@
|
||||
package model
|
||||
|
||||
type TorrentParserFunc func(torrent *Torrent) (parsedTorrent *ParsedTorrent, ok bool)
|
||||
type TorrentParserFunc func(parser *Parser, torrent *Torrent) (parsedTorrent *ParsedTorrent, ok bool)
|
||||
|
Loading…
Reference in New Issue
Block a user