alphaleonis / AlphaFS

AlphaFS is a .NET library providing more complete Win32 file system functionality to the .NET platform than the standard System.IO classes.
http://alphafs.alphaleonis.com/
MIT License
562 stars 99 forks source link

Disable retrieving file size by default for Directory/File.Copy/Move methods. #485

Closed Yomodo closed 6 years ago

Yomodo commented 6 years ago

When copying/moving a file or folder, the file size is retrieved by default.

Since this is not default .NET behaviour and it can cause some delay, it is now disabled by default. The returned file size is always 0.

Flag CopyOptions.GetSizes and MoveOptions.GetSizes can be used as alternative.