mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
filepath.Walk fails on Windows NTFS junctions with "Incorrect function" because os.Lstat returns nil info, bypassing all junction-detection logic and crashing the entire backup for that target. This means one unreadable junction prevents ALL local skills from being backed up. Replace with os.ReadDir + os.Lstat so junctions are identified and skipped before any read attempt. Also add Windows CI and unit tests for copyDir. Fixes runkids/skillshare#7