MCPcopy Create free account
hub / github.com/Coooolfan/onlyboxes / can_write_systemd

Function can_write_systemd

scripts/install.py:266–267  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

264
265
266def can_write_systemd() -> bool:
267 return os.access("/etc/systemd/system", os.W_OK)
268
269
270def detect_environment(args: argparse.Namespace) -> DeploymentPlan:

Callers 1

detect_environmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected