mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
GetTrackedRepos returned OS-native paths, so every caller that compared them with slash paths (RepoRelPath, dashboard repoPath, metadata keys) had to convert first. Two callers in install_queries already did, and this branch added four more. It now returns slash paths on every OS, matching GetMissingTrackedRepos; filepath.Join and filepath.Base accept them on Windows, and `update org/_repo` now also matches by full path there. The per-call-site conversions are gone. Smaller cleanups in the same code: - repoOf takes the slash relPath and looks up prefixes by substring, so the walk no longer splits and joins per directory; - repo .skillignore matchers are keyed by the same slash rel path, so isSkillIgnored no longer needs walkRoot; - batch uninstall uses utils.IsTrackedRepoDir instead of a literal "_"; - the dashboard uses repoOf where it spelled out isInRepo && folderOf; - the new tests reuse postBatchUninstall and share one --into sandbox.