You've already forked linux-packaging-mono
Imported Upstream version 6.4.0.163
Former-commit-id: 514fcbca0069f87e623d780a8ba702ac3c20c327
This commit is contained in:
parent
7cf9ab2574
commit
62bebfff73
@@ -437,7 +437,7 @@ namespace System.IO
|
||||
ReadOnlySpan<char> relativePath = ReadOnlySpan<char>.Empty;
|
||||
if (!path.Equals(_fullDirectory, StringComparison.OrdinalIgnoreCase)
|
||||
&& path.Length >= _fullDirectory.Length
|
||||
&& _fullDirectory.AsSpan().Equals(path.Slice(_fullDirectory.Length), StringComparison.OrdinalIgnoreCase))
|
||||
&& _fullDirectory.AsSpan().Equals(path.Slice(0, _fullDirectory.Length), StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
// Remove the root directory to get the relative path
|
||||
relativePath = path.Slice(_fullDirectory.Length);
|
||||
|
Reference in New Issue
Block a user