MCPcopy
hub / github.com/basecamp/once / Systemd

Struct Systemd

internal/service/systemd.go:29–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27`
28
29type Systemd struct{}
30
31func (s *Systemd) IsInstalled(name string) bool {
32 _, err := os.Stat(s.unitFilePath(name))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected