mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 09:14:45 +03:00
don't duplicate synced items
This commit is contained in:
@@ -63,4 +63,15 @@ namespace MediaBrowser.Controller.Sync
|
||||
/// <returns>Task<SyncedFileInfo>.</returns>
|
||||
Task<SyncedFileInfo> SendFile(string path, string[] pathParts, SyncTarget target, IProgress<double> progress, CancellationToken cancellationToken);
|
||||
}
|
||||
|
||||
public interface IHasDuplicateCheck
|
||||
{
|
||||
/// <summary>
|
||||
/// Allows the duplicate job item.
|
||||
/// </summary>
|
||||
/// <param name="original">The original.</param>
|
||||
/// <param name="duplicate">The duplicate.</param>
|
||||
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
|
||||
bool AllowDuplicateJobItem(SyncJobItem original, SyncJobItem duplicate);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user