mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-28 19:54:48 +03:00
3.2.10.4
This commit is contained in:
@@ -30,6 +30,16 @@ namespace Emby.Common.Implementations.IO
|
||||
return path.StartsWith("smb://", StringComparison.OrdinalIgnoreCase) || IsUncPath(path);
|
||||
}
|
||||
|
||||
public char GetDirectorySeparatorChar(string path)
|
||||
{
|
||||
if (path.IndexOf('/') != -1)
|
||||
{
|
||||
return '/';
|
||||
}
|
||||
|
||||
return '\\';
|
||||
}
|
||||
|
||||
public FileSystemMetadata GetFileSystemInfo(string path)
|
||||
{
|
||||
var file = CreateSmbFile(path);
|
||||
|
||||
Reference in New Issue
Block a user