Fix and improve captions detection (#3276)

This commit is contained in:
puc9
2023-01-26 16:52:56 -08:00
committed by GitHub
parent 08560923d2
commit cf0ce6cb08
3 changed files with 30 additions and 3 deletions

View File

@@ -156,6 +156,7 @@ type Finder interface {
type Getter interface {
Finder
FindByPath(ctx context.Context, path string) (File, error)
FindAllByPath(ctx context.Context, path string) ([]File, error)
FindByFingerprint(ctx context.Context, fp Fingerprint) ([]File, error)
FindByZipFileID(ctx context.Context, zipFileID ID) ([]File, error)
FindAllInPaths(ctx context.Context, p []string, limit, offset int) ([]File, error)