-
-
Notifications
You must be signed in to change notification settings - Fork 3
Add GlobFiles overload to support multiple glob patterns #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: dennisdoomen <[email protected]>
| /// </remarks> | ||
| /// <param name="path">The base directory path to start the glob search from.</param> | ||
| /// <param name="globPattern">The glob pattern used to match file paths, e.g. **/*.md or dir/**/*</param> | ||
| public static ChainablePath[] GlobFiles(this ChainablePath path, string globPattern) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot Rewrite the existing overload that takes a single pattern using the existing one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. The single-pattern overload now delegates to the multi-pattern implementation, eliminating code duplication. All tests pass.
|
@copilot also update the readme with an example |
Co-authored-by: dennisdoomen <[email protected]>
Co-authored-by: dennisdoomen <[email protected]>
Pull Request Test Coverage Report for Build 18431471735Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Original prompt
Fixes #78
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.