Thread overview
[Issue 21010] Windows symlinks
October 12
https://issues.dlang.org/show_bug.cgi?id=21010

starcanopy <starcanopy@protonmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |starcanopy@protonmail.com

--- Comment #1 from starcanopy <starcanopy@protonmail.com> ---
I'll look into it.

--
October 12
https://issues.dlang.org/show_bug.cgi?id=21010

--- Comment #2 from starcanopy <starcanopy@protonmail.com> ---
Adding Windows support to std.file.symlink is mostly done. I just need to get
some clarification about some stuff.
For std.file.readLink, druntime is missing a conversion of Fileapi.h, and this
is the header that declares the function to retrieve the target's path,
GetFinalPathNameByHandle[A|W]. For this issue's resolution, I feel that both
readLink and symlink need to be simultaneously added.

--
October 12
https://issues.dlang.org/show_bug.cgi?id=21010

starcanopy <starcanopy@protonmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |21306


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=21306
[Issue 21306] Add D Conversion of Fileapi.h
--
November 07
https://issues.dlang.org/show_bug.cgi?id=21010

--- Comment #3 from starcanopy <starcanopy@protonmail.com> ---
A potential blocker for this issue's resolution is that Windows (10)
necessitates enabling Developer Mode to utilize symlinks. Thus, unless the CIs'
Windows hosts may and might be configured to do this, then the Windows' version
of `symlink` cannot have a unittest. If that's not acceptable, then this issue
should be closed, and the documentation of symlink should inform users of
`core.sys.windows.symlink`'s presence. (As of now, the docs merely specify that
only POSIX is supported, and I think mentioning that directly utilizing the
WinAPI is easy.)
The other pertinent function, `readLink`, is also affected.

--
November 07
https://issues.dlang.org/show_bug.cgi?id=21010

--- Comment #4 from starcanopy <starcanopy@protonmail.com> ---
After more thinking, and thanks to another individual, for the unittests to properly function on all supported versions of Windows, administrative rights must be conferred. (Developer Mode is an exclusive feature of Windows 10.) Whether this is possible or prudent, I do no know.

--