Consolidate update+reader & remove some dead code

This commit is contained in:
2024-11-22 21:01:01 +11:00
parent cc703ad0c5
commit be51934334
7 changed files with 108 additions and 170 deletions

View File

@ -44,7 +44,7 @@ struct DpkSearchCommand: AsyncParsableCommand {
let localRepositories = try await ApkRepositoriesConfig()
let index: ApkIndex
do {
index = try await ApkIndex.resolve(localRepositories, fetch: .local)
index = try await ApkIndexReader.resolve(localRepositories, fetch: .local)
} catch {
eprint("Failed to build package index: \(error.localizedDescription)")
throw .failure