Skip to content
This repository was archived by the owner on Nov 6, 2018. It is now read-only.
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

Support globbing directories in addition to files #118

@ChengTian

Description

@ChengTian

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions