[go: up one dir, main page]

runtime_dir

Function runtime_dir 

Source
pub fn runtime_dir() -> Result<PathBuf>
Expand description

Get the runtime directory for ephemeral cuenv data.

Runtime data includes:

  • Coordinator socket
  • PID files
  • Lock files

Resolution order:

  1. CUENV_RUNTIME_DIR environment variable
  2. Platform runtime directory (or temp directory as fallback)

ยงErrors

Returns an error if the runtime directory cannot be determined.