MCPcopy Index your code
hub / github.com/archlinux-de/pkgstats-cli / GetServer

Method GetServer

internal/api/submit/request.go:28–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26type PackageManager interface {
27 GetInstalledPackages() ([]string, error)
28 GetServer() (string, error)
29}
30
31type SystemInfo interface {

Callers 10

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

Implementers 2

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

Calls

no outgoing calls

Tested by 9

TestGetServerFunction · 0.52
TestPacmanConfIncludesFunction · 0.52
TestPacmanConfCommentsFunction · 0.52
TestPacmanConfSymlinkFunction · 0.52