mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 18:54:26 -04:00
FullName property instead of ToString in Emby.Server.Implementations/IO/ManagedFileSystem.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
d719ca78b4
commit
eea142cad1
@ -249,7 +249,7 @@ namespace Emby.Server.Implementations.IO
|
|||||||
// Issue #2354 get the size of files behind symbolic links
|
// Issue #2354 get the size of files behind symbolic links
|
||||||
if (fileInfo.Attributes.HasFlag(FileAttributes.ReparsePoint))
|
if (fileInfo.Attributes.HasFlag(FileAttributes.ReparsePoint))
|
||||||
{
|
{
|
||||||
using (Stream thisFileStream = File.OpenRead(fileInfo.ToString()))
|
using (Stream thisFileStream = File.OpenRead(fileInfo.FullName))
|
||||||
{
|
{
|
||||||
result.Length = thisFileStream.Length;
|
result.Length = thisFileStream.Length;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user