Skip to content

runtime_paths

Functions

  • default_runtime_dir - Return <runtime>/firma. Pure resolver with no I/O. Reads
  • run_dir_from - <runtime>/run — directory that contains one subdirectory per
  • run_entry_from - <runtime>/run/<sandbox_id> — marker directory for a single

firma_stack::runtime_paths::default_runtime_dir

Section titled “firma_stack::runtime_paths::default_runtime_dir”

Function

Return <runtime>/firma. Pure resolver with no I/O. Reads FIRMA_STATE_DIR / XDG_RUNTIME_DIR / LOCALAPPDATA from the current process environment.

fn default_runtime_dir() -> std::path::PathBuf

Function

<runtime>/run — directory that contains one subdirectory per autostarted per-run sidecar.

fn run_dir_from(runtime_dir: &std::path::Path) -> std::path::PathBuf

firma_stack::runtime_paths::run_entry_from

Section titled “firma_stack::runtime_paths::run_entry_from”

Function

<runtime>/run/<sandbox_id> — marker directory for a single per-run sidecar.

fn run_entry_from(runtime_dir: &std::path::Path, sandbox_id: &str) -> std::path::PathBuf