FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix WIM filesystem by Erik-White · Pull Request #3 · LTRData/DiscUtils · GitHub

Fix WIM filesystem - #3

Merged
Olof-Lagerkvist merged 4 commits into
LTRData:LTRData.DiscUtils-initialfrom
Erik-White:fix-wim-filesystem
Jan 24, 2024
Merged

Fix WIM filesystem#3
Olof-Lagerkvist merged 4 commits into
LTRData:LTRData.DiscUtils-initialfrom
Erik-White:fix-wim-filesystem

Conversation

Copy link
Copy Markdown

There is currently a bug that affects the WIM file system where no entries are returned for root directories.
This is a result of the change introduced by the switch to the LTRData.SplitExtensions split function, see: f09f015#diff-ab45e438d7f2403bff5c28a276f345a016c816c8ef1893d3fb7c29858901891cR716
This function doesn't return anything when there are no results for Split, in contrast to the .NET Split which always returns the original search string (with the default split options).

The result of this change is that everything in GetEntry is skipped over since path.Length == 0 if there were no matches.

I have opened a PR to fix this in your other repo: LTRData/Library#1
This PR takes the updated version of LTRData.SplitExtensions and adds a simple regression test for WIM filesystems.

Olof-Lagerkvist merged commit ba5b825 into LTRData:LTRData.DiscUtils-initial Jan 24, 2024

Copy link
Copy Markdown
Author

Thanks for merging. Could you please push the new package version to nuget?

Copy link
Copy Markdown
Member

Thanks for merging. Could you please push the new package version to nuget?

Yes, they should be available there in a few minutes!

Thanks again!

Copy link
Copy Markdown
Author

Thank you, and thanks for your great work with DiscUtils ⭐

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL