Commit Graph
4 Commits
Author SHA1 Message Date
Varun Gokulnath a83edf96d5 Fix linting: remove extra empty line
Signed-off-by: Varun Gokulnath <vagokuln@microsoft.com>
Signed-off-by: Varun Gokulnath <gvarun22@outlook.com>
2025-12-17 11:16:26 -08:00
Varun Gokulnath 4efa80daf1 Refactor LX symlink logic into dedicated functions
Extract LX symlink encode/decode into separate functions for better
maintainability and cleaner separation of concerns.

Signed-off-by: Varun Gokulnath <vagokuln@microsoft.com>
Signed-off-by: Varun Gokulnath <gvarun22@outlook.com>
2025-12-17 11:16:26 -08:00
Varun Gokulnath 3ffe560692 Fix linting issues: remove redundant build tags and use errors.New
Signed-off-by: Varun Gokulnath <vagokuln@microsoft.com>
Signed-off-by: Varun Gokulnath <gvarun22@outlook.com>
2025-12-17 11:16:26 -08:00
Varun Gokulnath 94113a48c2 Add support for LX symlinks (WSL/MSYS2 native symlinks)
- Add reparseTagLxSymlink constant (0xA000001D)
- Implement decode logic for LX symlinks (UTF-8 format)
- Add IsLxSymlink field to ReparsePoint struct to preserve symlink type
- Implement encode logic to recreate LX symlinks on import
- Add unit tests for LX symlink round-trip validation

Fixes issue where Docker builds with MSYS2 failed with 'unsupported reparse point a000001d' error.

Signed-off-by: Varun Gokulnath <vagokuln@microsoft.com>
Signed-off-by: Varun Gokulnath <gvarun22@outlook.com>
2025-12-17 11:16:26 -08:00