mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-31 04:04:19 -04:00
15 lines
540 B
C#
15 lines
540 B
C#
namespace API.Interfaces.Services
|
|
{
|
|
public interface IScannerService
|
|
{
|
|
/// <summary>
|
|
/// Given a library id, scans folders for said library. Parses files and generates DB updates. Will overwrite
|
|
/// cover images if forceUpdate is true.
|
|
/// </summary>
|
|
/// <param name="libraryId">Library to scan against</param>
|
|
/// <param name="forceUpdate">Force overwriting for cover images</param>
|
|
void ScanLibrary(int libraryId, bool forceUpdate);
|
|
|
|
void ScanLibraries();
|
|
}
|
|
} |