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

Function home_dir

packages/server/src/service.rs:456–460  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

454}
455
456fn home_dir() -> anyhow::Result<PathBuf> {
457 std::env::var_os("HOME")
458 .map(PathBuf::from)
459 .ok_or_else(|| anyhow!("HOME is not set"))
460}
461
462fn launchctl_domain() -> anyhow::Result<String> {
463 let output = Command::new("id")

Callers 2

plist_path_for_labelFunction · 0.70
log_dirFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected