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

Method GetArchitecture

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

Source from the content-addressed store, hash-verified

31type SystemInfo interface {
32 GetCpuArchitecture() (string, error)
33 GetArchitecture() (string, error)
34 GetOSId() (string, error)
35}
36

Callers 2

CreateRequestFunction · 0.65
TestGetMachineFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 1

TestGetMachineFunction · 0.52