MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / read_service_unit

Function read_service_unit

src/daemon/service.rs:339–343  ·  view source on GitHub ↗
(service_path: &Path)

Source from the content-addressed store, hash-verified

337}
338
339fn read_service_unit(service_path: &Path) -> Result<String> {
340 std::fs::read_to_string(service_path).map_err(|e| TraceDecayError::Config {
341 message: format!("failed to read service '{}': {e}", service_path.display()),
342 })
343}
344
345fn socket_path_from_args<'a>(mut args: impl Iterator<Item = &'a str>) -> Option<PathBuf> {
346 while let Some(arg) = args.next() {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected