Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
26
type
PackageManager
interface
{
27
GetInstalledPackages() ([]string, error)
28
GetServer() (string, error)
29
}
30
31
type
SystemInfo
interface
{
Callers
10
TestGetServer
Function · 0.65
TestPacmanConfIncludes
Function · 0.65
TestPacmanConfIncludesGlob
Function · 0.65
TestPacmanConfComments
Function · 0.65
TestPacmanConfEmptySections
Function · 0.65
TestPacmanConfWithRelativePath
Function · 0.65
TestPacmanConfWithIncludesInSubdirectory
Function · 0.65
TestPacmanConfSymlink
Function · 0.65
TestGetServerMatchesPacmanConf
Function · 0.65
CreateRequest
Function · 0.65
Implementers
2
Pacman
internal/pacman/parser.go
mockPackageManager
internal/api/submit/request_test.go
Calls
no outgoing calls
Tested by
9
TestGetServer
Function · 0.52
TestPacmanConfIncludes
Function · 0.52
TestPacmanConfIncludesGlob
Function · 0.52
TestPacmanConfComments
Function · 0.52
TestPacmanConfEmptySections
Function · 0.52
TestPacmanConfWithRelativePath
Function · 0.52
TestPacmanConfWithIncludesInSubdirectory
Function · 0.52
TestPacmanConfSymlink
Function · 0.52
TestGetServerMatchesPacmanConf
Function · 0.52