aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Sync/IServerSyncProvider.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-05-18 21:21:26 +0200
committerGitHub <noreply@github.com>2021-05-18 21:21:26 +0200
commit8d2e5ef8c632a09109e946f87aa37fb34c0d6605 (patch)
tree9546fd5184f4c44354f4ba9f75d68fb0cc9157e4 /MediaBrowser.Controller/Sync/IServerSyncProvider.cs
parent19e9bef256129f10e701d98567826f46d30a12fb (diff)
parentb6dda30a33e7ea3465629e041be74b3e9022d810 (diff)
Merge pull request #6042 from crobibero/mbc-warn-2
Diffstat (limited to 'MediaBrowser.Controller/Sync/IServerSyncProvider.cs')
-rw-r--r--MediaBrowser.Controller/Sync/IServerSyncProvider.cs32
1 files changed, 0 insertions, 32 deletions
diff --git a/MediaBrowser.Controller/Sync/IServerSyncProvider.cs b/MediaBrowser.Controller/Sync/IServerSyncProvider.cs
deleted file mode 100644
index 3891ac0a6..000000000
--- a/MediaBrowser.Controller/Sync/IServerSyncProvider.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-#nullable disable
-
-#pragma warning disable CS1591
-
-using System;
-using System.IO;
-using System.Threading;
-using System.Threading.Tasks;
-using MediaBrowser.Model.IO;
-using MediaBrowser.Model.Querying;
-using MediaBrowser.Model.Sync;
-
-namespace MediaBrowser.Controller.Sync
-{
- public interface IServerSyncProvider : ISyncProvider
- {
- /// <summary>
- /// Transfers the file.
- /// </summary>
- Task<SyncedFileInfo> SendFile(SyncJob syncJob, string originalMediaPath, Stream inputStream, bool isMedia, string[] outputPathParts, SyncTarget target, IProgress<double> progress, CancellationToken cancellationToken);
-
- Task<QueryResult<FileSystemMetadata>> GetFiles(string[] directoryPathParts, SyncTarget target, CancellationToken cancellationToken);
- }
-
- public interface ISupportsDirectCopy
- {
- /// <summary>
- /// Sends the file.
- /// </summary>
- Task<SyncedFileInfo> SendFile(SyncJob syncJob, string originalMediaPath, string inputPath, bool isMedia, string[] outputPathParts, SyncTarget target, IProgress<double> progress, CancellationToken cancellationToken);
- }
-}