Skip to main content

archive_session

Function archive_session 

Source
pub async fn archive_session(session_id: &str) -> Result<PathBuf>
Expand description

Archive a session by exporting it to the archive directory

Note: Since sessions are stored in SQLite, archiving exports the session to a JSON file in the archive directory.

§Arguments

  • session_id - The session ID to archive

§Returns

The path to the archived session file