refactor: remove dead BasePlatformAdapter code

This commit is contained in:
sam committed 2026-08-22 23:23:51 +10:00
1 parent 29fba1740f
commit d998c33b0d
5 files changed
+5 -240

No files matched your search

+2 -6
View File
@@ -24,6 +24,7 @@ import (
"fmt"
"os"
"path/filepath"
"slices"
"strings"
"time"
@@ -211,12 +212,7 @@ func repositoryUsesURL(dir, want string) bool {
if !ok {
return false
}
for _, got := range remote.URLs {
if got == want {
return true
}
}
return false
return slices.Contains(remote.URLs, want)
}
// refresh brings an already-prepared worktree back in line with the