Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
57
func
getDistributorID() (string, error) {
58
out, err := exec.Command(
"lsb_release"
,
"-si"
).Output()
59
return
strings.ToLower(strings.TrimSpace(string(out))), err
60
}
Callers
1
ParsePPA
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected