Copy FileSystemGlobbing and HashCodeCombiner sources

This commit is contained in:
Pranav K 2016-04-29 12:11:27 -07:00
parent f8631fa4b7
commit 734c9fc43b
75 changed files with 3999 additions and 43 deletions

View file

@ -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);
}
}
}
}