MCPcopy Create free account
hub / github.com/archlinux-de/pkgstats-cli / PackageManager

Interface PackageManager

internal/api/submit/request.go:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24const Version = "3"
25
26type PackageManager interface {
27 GetInstalledPackages() ([]string, error)
28 GetServer() (string, error)
29}
30
31type SystemInfo interface {
32 GetCpuArchitecture() (string, error)

Callers 11

TestGetInstalledPackagesFunction · 0.65
CreateRequestFunction · 0.65
TestGetServerFunction · 0.65
TestPacmanConfIncludesFunction · 0.65
TestPacmanConfCommentsFunction · 0.65
TestPacmanConfSymlinkFunction · 0.65

Implementers 2

Pacmaninternal/pacman/parser.go
mockPackageManagerinternal/api/submit/request_test.go

Calls

no outgoing calls

Tested by

no test coverage detected