From d571d7e50593579597400c10b0b0ce309a190efc Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Thu, 10 Oct 2024 21:00:59 +0200 Subject: [PATCH] remove stale code --- src/packages/PkgCompat.jl | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/packages/PkgCompat.jl b/src/packages/PkgCompat.jl index 58ef62af6..e79496263 100644 --- a/src/packages/PkgCompat.jl +++ b/src/packages/PkgCompat.jl @@ -333,17 +333,6 @@ function _registry_entries(package_name::AbstractString, registries::Vector=_par end end -# (🐸 "Public API", but using PkgContext) -function _package_versions_from_path(registry_entry_fullpath::AbstractString)::Vector{VersionNumber} - # compat - vd = @static if hasmethod(Pkg.Operations.load_versions, (String,)) - Pkg.Operations.load_versions(registry_entry_fullpath) - else - Pkg.Operations.load_versions(PkgContext(), registry_entry_fullpath) - end - vd |> keys |> collect -end - # ✅ "Public" API using RegistryInstances """ Return all registered versions of the given package. Returns `["stdlib"]` for standard libraries, a `Vector{VersionNumber}` for registered packages, or `["latest"]` if it crashed.