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

Function tracedecay_data_dir

src/daemon/service.rs:236–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

234}
235
236fn tracedecay_data_dir() -> Result<PathBuf> {
237 crate::config::user_data_dir().ok_or_else(|| TraceDecayError::Config {
238 message: "could not determine TraceDecay user data directory".to_string(),
239 })
240}
241
242pub fn default_socket_path() -> Result<PathBuf> {
243 if let Some(path) = std::env::var_os(SOCKET_ENV).filter(|path| !path.is_empty()) {

Callers 3

render_launchd_plistMethod · 0.85
default_socket_pathFunction · 0.85

Calls 1

user_data_dirFunction · 0.85

Tested by

no test coverage detected