Skip to main content

session_dir_has_prior_artifacts

Function session_dir_has_prior_artifacts 

Source
pub fn session_dir_has_prior_artifacts(dir: &Path) -> bool
Expand description

Return true when dir exists AND contains artifacts that indicate a prior session’s state (metrics db, session log, or checkpoint). Used by Session::new_with_args to decide whether the reuse-policy check applies.