Skip to main content

find_pi_session_file

Function find_pi_session_file 

Source
pub fn find_pi_session_file(
    cwd: &Path,
    session_id: &str,
    session_dir: Option<&Path>,
) -> Option<PathBuf>
Expand description

Find the Pi session JSONL file for a given session ID.

If session_dir is provided, searches there. Otherwise, resolves the default directory via pi_session_dir_for_cwd.