mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 04:48:27 +01:00
Add ability to upload entire file
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using MediaBrowser.Model.ClientLog;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using MediaBrowser.Model.ClientLog;
|
||||
|
||||
namespace MediaBrowser.Controller.ClientEvent
|
||||
{
|
||||
@@ -12,5 +14,13 @@ namespace MediaBrowser.Controller.ClientEvent
|
||||
/// </summary>
|
||||
/// <param name="clientLogEvent">The client log event.</param>
|
||||
void Log(ClientLogEvent clientLogEvent);
|
||||
|
||||
/// <summary>
|
||||
/// Writes a file to the log directory.
|
||||
/// </summary>
|
||||
/// <param name="fileName">The file name.</param>
|
||||
/// <param name="fileContents">The file contents.</param>
|
||||
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
|
||||
Task WriteFileAsync(string fileName, Stream fileContents);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user