mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-08-23 16:12:29 +02:00
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