Skip to content

Commit

Permalink
PR feedback (Mihai): More explicit comment on DirectoryPattern
Browse files Browse the repository at this point in the history
  • Loading branch information
ladipro committed Feb 23, 2021
1 parent 96841b6 commit a45184b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Shared/FileMatcher.cs
Expand Up @@ -796,7 +796,9 @@ bool needsRecursion
public string Filespec { get; }
/// <summary>
/// Holds the directory pattern for globs like **/{pattern}/**, i.e. when we're looking for a matching directory name
/// regardless of where on the path it is.
/// regardless of where on the path it is. This field is used only if the wildcard directory part has this shape. In
/// other cases such as **/{pattern1}/**/{pattern2}/**, we don't use this optimization and instead rely on
/// <see cref="RegexFileMatch"/> to test if a file path matches the glob or not.
/// </summary>
public string DirectoryPattern { get; }
/// <summary>
Expand Down

0 comments on commit a45184b

Please sign in to comment.