MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / plist_path_for_label

Function plist_path_for_label

packages/server/src/service.rs:247–251  ·  view source on GitHub ↗
(label: &str)

Source from the content-addressed store, hash-verified

245}
246
247fn plist_path_for_label(label: &str) -> anyhow::Result<PathBuf> {
248 Ok(home_dir()?
249 .join("Library/LaunchAgents")
250 .join(format!("{label}.plist")))
251}
252
253fn service_labels() -> Vec<&'static str> {
254 vec![SERVICE_LABEL]

Callers 3

plist_pathFunction · 0.85
unload_existing_servicesFunction · 0.85

Calls 1

home_dirFunction · 0.70

Tested by

no test coverage detected