-
Notifications
You must be signed in to change notification settings - Fork 7
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
Create Linux implementation #10
Comments
If it's possible to do, we should do it in File.Copy itself. dotnet/runtime#79243 (comment) |
Sure, see the Microsoft.Build.CopyOnWrite SDK which copies the Copy task code and adds in this library. Extend this library to all OSes and make use of it in Copy task in MSBuild. |
I was very happy to find this library and after reading the Readme I was sure it will work but then I run into this exception on Linux.
at Microsoft.CopyOnWrite.Linux.LinuxCopyOnWriteFilesystem.CopyOnWriteLinkSupportedInDirectoryTree(String rootDirectory, Boolean pathIsFullyResolved) If the library does not have Linux support yet, it should be documented up-front. @danmoseley adding the COW feature to File.Copy was even better as this was the first place I was checking for COW support. |
Added a note in README about the missing support. |
On Linux, you should just pass through to the BCL implementation of |
That are awesome news and a reason to change .NET 6 to 7 on my Synology box. Thanks for the information! |
Closing issue as unneeded. README.md updated with info about possible Windows future plus Mac and Linux. |
Linux version is TODOs and NotImplementedExceptions
The text was updated successfully, but these errors were encountered: