-
Notifications
You must be signed in to change notification settings - Fork 903
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-934) Support Paths > 260 Characters
Installing a package or working with packaging could mean paths that are over 260 characters (MAX_PATH). Sometimes backing up a path will take it over 260 characters resulting in errors when attempting to upgrade/uninstall packages that have pretty long paths. This is done by using the AlphaFS library. Unfortunately it doesn't use the .NET Framework methods and check lengths before it uses its implementation with native calls so it doesn't appear to be Mono safe. This meant the implementation of IFileSystem that is being used will need to perform those checks and fall back on errors. This also means the addition of dynamics to support switching between two interpretations of FileInfo and DirectoryInfo.
- Loading branch information
1 parent
10ad26f
commit a19831f
Showing
7 changed files
with
206 additions
and
58 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.