This repository was archived by the owner on Dec 6, 2024. It is now read-only.
AlphaFS v2.2
Serving along the Path for 10 years.
This release is also available on NuGet
Bugs Fixed
- Issue #268: There are multiple warnings when building the documentation.
- Issue #286: Property
FileSystemEntryInfo.AlternateFileNameis always an empty string. - Issue #292:
CopyOptions.CopySymbolicLinknot working in 2.1.2 (Thx v2kiran) - Issue #325:
DeleteEmptySubdirectories(withrecursive=true) throwsSystem.IO.DirectoryNotFoundException(Thx kryvoplias) - Issue #328: Several instances of
ArgumentException.ParamNamenot set/used correctly (Thx elgonzo) - Issue #330: Correct the parameter order for Privilege class constructors using the
ArgumentNullException. - Issue #339:
Directory/File.Encrypt/Decryptshould restore read-only attribute. - Issue #340:
DirectoryReadOnlyExceptioninherits fromSystem.IO.IOException, wrong? - Issue #344:
Directory.CopythrowsUnauthorizedAccessException"The target file is a directory, not a file", while it is a file. - Issue #349:
File.GetFileSystemEntryInfoCoreshould throwDirectory/FileNotFoundException, depending onisFolderargument. - Issue #369:
Directory.EnumerateFileSystemEntryInfosdoes not return subdirectories with spaces as name. (Thx Lupinho) - Issue #371: Fix
.gitignoreto accommodate new directory structure in AlphaFS.UnitTest project. (Thx damiarnold) - Issue #372:
SetFsoDateTimeCoreshould always useBackupSemantics. (Thx damiarnold) - Issue #374: Initializing
DriveInfoinstance with only a letter throwsSystem.ArgumentException. - Issue #375: What is the expected result of
Path.LocalToUnc()? (Thx damiarnold) - Issue #376:
Path.LocalToUnc(path, true)does not return UNC path in long path form. (Thx damiarnold) - Issue #379:
Path.LocalToUnc()isn't handling trailing directory separators for mapped drives. (Thx damiarnold) - Issue #381: Change property
ByHandleFileInfo.VolumeSerialNumberfrominttolong. - Issue #386:
Network.Host.EnumerateDrives()returns invalid data. - Issue #400:
Directory.CopyDeleteCorecreates destination folder when source folder does not exist. - Issue #412: Method
Volume.GetVolumeDeviceNamereturns wrong result. - Issue #417: Using a file opened in append mode will fail after a gc occurs (Thx elgonzo)
- Issue #417:
File.OpenReadmethod overloads do not useFileShare.Read(Thx elgonzo) - Issue #427:
System.IO.FileSystemInfo.Refresh()is public; butAlphaFS FileSystemInfo.Refresh()is protected
New Features
- Issue #422: Add
Copy-FileWithProgress.ps1demonstrating file copy with progress report. - Issue #423: Add
Copy-DirectoryWithProgress.ps1demonstrating directory copy with progress report.
ImprovedEnumerate-FileSystemEntryInfos.ps1demonstratingDirectoryEnumerationFilters.
- Issue #212: Provide a way to retrieve errors when you choose to
ContinueOnException - Issue #314: Added Feature:
Directory.GetFileSystemEntryInfo(Thx besoft) - Issue #322: Search files/folders using multiple filters. (Thx besoft)
- Issue #336: Implement methods for
Directoryclass:CreateJunction,DeleteJunctionandExistsJunction. - Issue #338: Add convenience method
Directory.IsEmpty - Issue #342: Add instance method:
FileInfo.IsLocked() - Issue #343: Add method
File.GetProcessForFileLock - Issue #347: Implement method
Directory.CreateSymbolicLink - Issue #348: Implement method
Directory.GetLinkTargetInfo - Issue #351: Enable copying of Directory symbolic links.
- Issue #353: Modify method
Directory.GetFileSystemEntryInfoto returnFileSystemEntryInfostructure for directories supporting also root directories, e.g.,C:\(Thx besoft) - Issue #354: Add methods
File.GetFileIdandDirectory.GetFileIdto return a unique file identifier. (Thx besoft) - Issue #370: Relative path from a full path (Thx QbProg)
- Issue #373: Improve method
Directory.CreateDirectoryto allow creating a folder consisting only of spaces. - Issue #414: Add additional
Network.Hostmethods. - Issue #415: Added
ProcessContextstatic class to determine the context of the current process.