mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-30 06:58:08 +00:00
use IFileSystem interface to get creation time
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.IO;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
namespace MediaBrowser.Controller.IO
|
||||
{
|
||||
@@ -41,5 +42,12 @@ namespace MediaBrowser.Controller.IO
|
||||
/// <param name="filename">The filename.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
string GetValidFilename(string filename);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the creation time UTC.
|
||||
/// </summary>
|
||||
/// <param name="info">The info.</param>
|
||||
/// <returns>DateTime.</returns>
|
||||
DateTime GetCreationTimeUtc(FileSystemInfo info);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user