fix: make the progress more readable

This commit is contained in:
Antoine Aflalo
2024-08-27 20:42:26 -04:00
parent e0b6d7fcef
commit 72c6776793
3 changed files with 7 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ import (
type Converter interface {
// Format of the converter
Format() (format constant.ConversionFormat)
ConvertChapter(chapter *manga.Chapter, quality uint8, progress func(string)) (*manga.Chapter, error)
ConvertChapter(chapter *manga.Chapter, quality uint8, progress func(message string, current uint32, total uint32)) (*manga.Chapter, error)
PrepareConverter() error
}