github runkids/skillshare v0.9.2

latest releases: v0.17.10, v0.17.9, v0.17.8...
one month ago

v0.9.2 Release Note ─

Bug Fixes

  • Fix Windows backup failure with NTFS junctions (#7)

    On Windows, skillshare sync failed to backup targets containing NTFS junctions (created by previous syncs) with "Incorrect function" error. A single unreadable
    junction would crash the entire backup for that target, preventing all local skills from being backed up.

    Root cause: filepath.Walk calls os.Lstat on junctions, which can fail on Windows with nil file info — bypassing all junction-detection logic.

    Fixed by replacing filepath.Walk with os.ReadDir + os.Lstat, so junctions are identified and skipped before any read attempt. Backup now only copies real
    local files.

Tests

  • Add unit tests for copyDir (regular files, symlink skipping, mixed content, broken symlinks)
  • Add integration test: backup after sync correctly skips symlinked skills

Changelog

  • 5c0fede chore(docs): fix docs link
  • 78924f0 fix(backup): replace filepath.Walk with os.ReadDir to handle Windows junctions

Don't miss a new skillshare release

NewReleases is sending notifications on new releases.