Skip to content

Breaking change to FileSystemGlobbing package in beta8 #58

@analogrelay

Description

@analogrelay

In order to add support for extracting the "stem" of a globbing match (see aspnet/FileSystem#120), a breaking change was added to the FileSystemGlobbing package (Microsoft.Framework.FileSystemGlobbing). Previously, the result of running Matcher.Execute was a list of strings. Now, it is a list of FilePatternMatch objects which contain both the full path to the match in the Path property and the "stem" (or the part matched by the globs) of the match in the Stem property.

As a result, any consumers of this code will need to update to adjust for this change in method signature. In almost all cases, it should just be a matter of changing types and appending .Path calls. See aspnet/Mvc#3052 for a sample change reacting to this one.

In accordance with the discussion in #47 - this post has been locked to avoid flooding watchers of this repo. See the corresponding issue aspnet/FileSystem#121 for feedback and discussion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions