Conversation
…pers define which files should be included or excluded Add an optional ExclusionFilters parameter (default: ExclusionFilters.Sensitive) to ReplaceEmbeddedByPhysical and forward it to the PhysicalFileProvider constructor when creating PhysicalVirtualFileSetInfo. This lets callers control which files are excluded when replacing embedded virtual file sets with physical directories.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an ExclusionFilters option to ReplaceEmbeddedByPhysical so developers can control which files (including dotfiles) are included when swapping embedded VFS content for a physical file provider (e.g., in debug mode).
Changes:
- Extend
VirtualFileSetListExtensions.ReplaceEmbeddedByPhysical<T>to accept anExclusionFiltersparameter (defaulting toSensitive). - Pass the provided
ExclusionFiltersinto thePhysicalFileProviderused byReplaceEmbeddedByPhysical.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #25284 +/- ##
==========================================
- Coverage 50.06% 50.06% -0.01%
==========================================
Files 3557 3559 +2
Lines 119379 119580 +201
Branches 9010 9022 +12
==========================================
+ Hits 59770 59862 +92
- Misses 57808 57901 +93
- Partials 1801 1817 +16 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…ystem/VirtualFileSetListExtensions.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
maliming
approved these changes
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While building an ABP application, i needed this option to include the hidden files (
.file-name) and directly use the file in debug mode.