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

Function launchd_before_uninstall

src/daemon/service.rs:801–807  ·  view source on GitHub ↗
(stop: bool)

Source from the content-addressed store, hash-verified

799}
800
801fn launchd_before_uninstall(stop: bool) -> Result<()> {
802 if !stop {
803 return Ok(());
804 }
805 let target = launchd_service_target()?;
806 run_launchd_commands(&launchd_uninstall_command_plan(&target))
807}
808
809fn verify_launchd_started(target: &str, socket_path: &Path) -> Result<()> {
810 if daemon_socket_state(socket_path) == DaemonSocketState::Connectable {

Callers 1

before_uninstallMethod · 0.85

Calls 3

launchd_service_targetFunction · 0.85
run_launchd_commandsFunction · 0.85

Tested by

no test coverage detected