]> git.99rst.org Git - git.git/commit
mingw: implement `readlink()`
authorKarsten Blees <redacted>
Fri, 9 Jan 2026 20:05:10 +0000 (20:05 +0000)
committerJunio C Hamano <redacted>
Sat, 10 Jan 2026 02:32:55 +0000 (18:32 -0800)
commit980852dbff657a14eecc4a8a72a2874dad2bad71
tree6c8b7dfae701fa6daec879c16babdadcc541391e
parent43745a7d55daa1aa0937a3c6e8b521bd026a31f1
mingw: implement `readlink()`

Implement `readlink()` by reading NTFS reparse points via the
`read_reparse_point()` function that was introduced earlier to determine
the length of symlink targets. Works for symlinks and directory
junctions.

Signed-off-by: Karsten Blees <redacted>
Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Junio C Hamano <redacted>
compat/mingw-posix.h
compat/mingw.c
git clone https://git.99rst.org/PROJECT