MCPcopy Index your code
hub / github.com/aptly-dev/aptly / getDistributorID

Function getDistributorID

deb/ppa.go:57–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55}
56
57func getDistributorID() (string, error) {
58 out, err := exec.Command("lsb_release", "-si").Output()
59 return strings.ToLower(strings.TrimSpace(string(out))), err
60}

Callers 1

ParsePPAFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected