Skip to main content

create_snapshot

Function create_snapshot 

Source
pub fn create_snapshot(
    session_ctx: &SessionContext,
    name: &str,
    base_dir: &Path,
) -> AgentResult<PathBuf>
Expand description

Create a named snapshot of a session.

Copies the session directory to base_dir/snapshots/<name>/. Returns the snapshot path.