-
Notifications
You must be signed in to change notification settings - Fork 257
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
LongPaths >260 characters. #786
Comments
The LongPath library sounds pretty interesting for this common issue. Thanks for the hint! 😄
I think I'd prefer the latter. Maybe as a sister project in the https://github.com/TestableIO org? Some users may not want the additional dependency or might be depending on some specific System.IO behaviour cross-platform. Also, the |
Thanks for this issue @ericnewton76! I agree with @hangy that the LongPath library sounds very useful! I'd also prefer to go forward with the "alternative IFileSystem implementation" you proposed in a separate repository. I could set something up in the |
Consider https://github.com/alphaleonis/AlphaFS, as it's MIT licensed too and could easily be bundled with System.IO.Abstractions. |
What: Please create the sister project (System.IO.Abstractions.AlphaFS or System.IO.Abstractions.Alphaleonis ?) |
@patrickdreyer Wow, thanks! I'll take care in the next days. Who should I add as maintainers? |
@fgreinacher myself? :-) |
@patrickdreyer We (well, mostly @vbreuss 😄) recently did some work to use the abstractions in another project: Testably/Testably.Abstractions#225. We did not pull it into the Would a similar approach also work for you? |
Is your feature request related to a problem? Please describe.
Long paths in windows >260characters cause issues. The underlying System.IO.File use Win32 APIs that fail to handle >260 cahracters properly.
Describe the solution you'd like
Theres a LongPaths repo that implements long file path support: (https://github.com/peteraritchie/LongPath/)
I'm proposing a merge of that code into the standard IFileSystem implementation or as an alternative IFileSystem implementation.
Describe alternatives you've considered
(https://github.com/peteraritchie/LongPath/)
Additional context
Add any other context or screenshots about the feature request here. I would possibly be the one to submit a pullrequest merging this in.
The text was updated successfully, but these errors were encountered: