Copy FileSystemGlobbing and HashCodeCombiner sources
This commit is contained in:
parent
f8631fa4b7
commit
734c9fc43b
75 changed files with 3999 additions and 43 deletions
|
@ -0,0 +1,19 @@
|
|||
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using Microsoft.DotNet.ProjectModel.FileSystemGlobbing.Internal;
|
||||
|
||||
namespace Microsoft.DotNet.ProjectModel.FileSystemGlobbing.Tests.TestUtility
|
||||
{
|
||||
internal static class PatternContextHelper
|
||||
{
|
||||
public static void PushDirectory(IPatternContext context, params string[] directoryNames)
|
||||
{
|
||||
foreach (var each in directoryNames)
|
||||
{
|
||||
var directory = new MockDirectoryInfo(null, null, string.Empty, each, null);
|
||||
context.PushDirectory(directory);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue