Rename GetVersionAnonymousPath
This commit is contained in:
parent
8a5244cdf2
commit
d30c7408d7
2 changed files with 4 additions and 4 deletions
|
@ -41,7 +41,7 @@ public class FindArchiveDiffs : Microsoft.Build.Utilities.Task
|
|||
var baselineFiles = baseline.GetFileNames();
|
||||
var testFiles = test.GetFileNames();
|
||||
ContentDifferences =
|
||||
GetDiffs(baselineFiles, testFiles, PathWithVersions.Equal, PathWithVersions.GetVersionAnonymousPath)
|
||||
GetDiffs(baselineFiles, testFiles, PathWithVersions.Equal, PathWithVersions.GetVersionlessPath)
|
||||
.Select(FromDiff)
|
||||
.ToArray();
|
||||
return true;
|
||||
|
|
|
@ -71,12 +71,12 @@ public static class PathWithVersions
|
|||
return true;
|
||||
}
|
||||
|
||||
public static string GetVersionAnonymousPath(string path)
|
||||
public static string GetVersionlessPath(string path)
|
||||
{
|
||||
return GetVersionAnonymousPath(path.AsSpan()).ToString();
|
||||
return GetVersionlessPath(path.AsSpan()).ToString();
|
||||
}
|
||||
|
||||
public static ReadOnlySpan<char> GetVersionAnonymousPath(ReadOnlySpan<char> path)
|
||||
public static ReadOnlySpan<char> GetVersionlessPath(ReadOnlySpan<char> path)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
bool altered = false;
|
||||
|
|
Loading…
Reference in a new issue