aboutsummaryrefslogtreecommitdiff
path: root/src/cli/plugin.rs
diff options
context:
space:
mode:
authorJJ Liebig <jonathan.liebig@gmail.com>2026-09-26 17:15:50 +0200
committerGitHub <noreply@github.com>2026-09-26 17:15:50 +0200
commitc34dd6b2acd432cb7acbe9de568b245853e3b8c7 (patch)
treea68818659f64e7f760a6d1f16176b0d843d97568 /src/cli/plugin.rs
parent804a4aaf3ec21e681a09d3021d96b33206280b16 (diff)
fix: create a symlink on non-elevated windows in docs test (#4654)
* fix: create a symlink on non-elevated windows in docs test Windows terminals without Developer Mode or elevation cannot create file symlinks, so the versions publishing integration test failed with EPERM before it could reach the non-ordinary-file rejection. Fall back to a directory junction, which is creatable without elevation and hits the same rejection path. * fix: detect docs snapshot reparse points with lstat Classify entries with lstat instead of the readdir dirent so symlinks and Windows junctions are rejected regardless of how a runtime classifies them. This keeps the versions integration test's non-ordinary-file assertion meaningful on non-elevated Windows, where the fixture can only create a directory junction.
Diffstat (limited to 'src/cli/plugin.rs')
0 files changed, 0 insertions, 0 deletions