aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/IO
diff options
context:
space:
mode:
authorStepan Goremykin <goremukin@gmail.com>2023-10-08 00:26:12 +0200
committerStepan Goremykin <goremukin@gmail.com>2023-10-08 00:26:12 +0200
commit8ea812b65d5287dad9c599d03dba8ad2994b244a (patch)
treed7d3fe59c431ecc2eccf28e7e8209d0304b779b9 /Emby.Server.Implementations/IO
parent3f9ee316d52fd9623012641c7d270df2cbba8c6b (diff)
Reduce string literal length by using verbatim string
Diffstat (limited to 'Emby.Server.Implementations/IO')
-rw-r--r--Emby.Server.Implementations/IO/ManagedFileSystem.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/IO/ManagedFileSystem.cs b/Emby.Server.Implementations/IO/ManagedFileSystem.cs
index 18b00ce0b..79eca4022 100644
--- a/Emby.Server.Implementations/IO/ManagedFileSystem.cs
+++ b/Emby.Server.Implementations/IO/ManagedFileSystem.cs
@@ -91,7 +91,7 @@ namespace Emby.Server.Implementations.IO
}
// unc path
- if (filePath.StartsWith("\\\\", StringComparison.Ordinal))
+ if (filePath.StartsWith(@"\\", StringComparison.Ordinal))
{
return filePath;
}