mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-02-04 00:54:33 +00:00
[Feature request] Use File.CreateSymbolicLink in filesystem extraction #913
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @claunia on GitHub (Nov 9, 2022).
Originally assigned to: @claunia on GitHub.
Type
Other...
Description
When extracting a symbolic link from a supported filesystem,
System.IO.File.CreateSymbolicLinkshall be used to create the appropriate link in the host filesystem.Context
The proper way of extracting file is always trying to use the underlying host filesystem features as best. Introduced with .NET 6 is a multi-platform way of creating symbolic links, that shall be used when extracting one from a filesystem we support extraction.
Documentation
https://learn.microsoft.com/en-us/dotnet/api/system.io.file.createsymboliclink?view=net-6.0