mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-10 02:46:36 +00:00
use IFileSystem interface to get creation time
This commit is contained in:
parent
d5baaa1f67
commit
579b507f7f
9 changed files with 52 additions and 31 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using MediaBrowser.Model.Logging;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security;
|
||||
|
|
@ -8,6 +9,11 @@ namespace MediaBrowser.ServerApplication.IO
|
|||
{
|
||||
public class NativeFileSystem : CommonFileSystem
|
||||
{
|
||||
public NativeFileSystem(ILogger logger)
|
||||
: base(logger)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool IsShortcut(string filename)
|
||||
{
|
||||
return base.IsShortcut(filename) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue