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

Method GetOSId

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

Source from the content-addressed store, hash-verified

32 GetCpuArchitecture() (string, error)
33 GetArchitecture() (string, error)
34 GetOSId() (string, error)
35}
36
37func CreateRequest(p PackageManager, s SystemInfo) (*Request, error) {

Callers 2

CreateRequestFunction · 0.65
TestGetOSIdFunction · 0.65

Implementers 2

mockSystemInfointernal/api/submit/request_test.go
Systeminternal/system/system.go

Calls

no outgoing calls

Tested by 1

TestGetOSIdFunction · 0.52