Files
osmedeus/pkg/cli
j3ssie aa0421aae3 refactor: consolidate GitHub URL matching and tidy registry-info handler
Follow-up cleanup to 94ddad4, no behaviour change.

- export installer.IsGitHubURL and drop pkg/cli's isGitHubURLForFetch, which
  was a third substring copy of the same predicate still gating an
  Authorization header. internal/functions keeps its own copy: that one also
  has to match the SSH form (git@github.com:user/repo.git), which has no
  parseable host.
- replace the isTrustedRegistry one-line predicate with the comparison it
  wrapped, and extract the fallback-URL rule the two mode handlers had
  copy-pasted into displayRegistryURL, so registryPathOrURL is no longer
  overwritten mid-function with a different meaning
- drop a no-op int64 conversion in the registry size check
2026-08-08 14:27:18 +08:00
..