Skip to main content

load_archived_run

Function load_archived_run 

Source
pub fn load_archived_run(project_name: &str, run_id: &str) -> Option<RunState>
Expand description

Load an archived run by run_id from a project’s runs directory.

This is useful for retrieving the final state of a run after it completes and the session files have been cleaned up.

§Arguments

  • project_name - The project to look in
  • run_id - The run ID to find

§Returns

  • Option<RunState> - The archived run state if found