From 90867f5d7c4db9004cbed1fd32651244f0cca38e Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Wed, 12 Feb 2025 14:36:02 +0300 Subject: [PATCH] wip: remove unused legacy code --- pkg/repos/repos_legacy.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkg/repos/repos_legacy.go b/pkg/repos/repos_legacy.go index d9f0973..81b3bb6 100644 --- a/pkg/repos/repos_legacy.go +++ b/pkg/repos/repos_legacy.go @@ -35,15 +35,6 @@ func Pull(ctx context.Context, repos []types.Repo) error { return GetInstance(ctx).Pull(ctx, repos) } -// FindPkgs looks for packages matching the inputs inside the database. -// It returns a map that maps the package name input to any packages found for it. -// It also returns a slice that contains the names of all packages that were not found. -// -// Deprecated: use struct method -func FindPkgs_(ctx context.Context, pkgs []string) (map[string][]database.Package, []string, error) { - return GetInstance(ctx).FindPkgs(ctx, pkgs) -} - // ======================= // FOR LEGACY ONLY // =======================