From @ChengTian on Wednesday, July 29, 2015 2:56:39 PM
Today we only support globbing files given some patterns. We should allow globbing directories as well.
Sample usage:
var matcher = new Matcher();
matcher.AddInclude("submodules/*/src");
var results = matcher.GetResultsInFullPath(solutionRoot);
and it turns something like
[ "solutionRoot/submodules/FileSystem/src", "solutionRoot/submodules/NuGet/src"]
This is useful in certain scenarios like project resolution.
/cc @troydai
Copied from original issue: aspnet/FileSystem#118