Skip to main content

Module shell_snapshot

Module shell_snapshot 

Source
Expand description

Shell environment snapshot for avoiding repeated login script execution.

This module provides a mechanism to capture a fully-initialized shell environment (after login scripts have run) and reuse it for subsequent command executions, significantly reducing command startup time.

Structs§

FileFingerprint
Fingerprint of a configuration file for change detection.
ShellSnapshot
A captured shell environment snapshot.
ShellSnapshotManager
Manager for shell environment snapshots.
SnapshotStats
Statistics about the current snapshot state.

Enums§

ShellKind
Detected shell kind for platform-specific behavior.

Functions§

apply_snapshot_env
Apply a snapshot’s environment to a command builder.
global_snapshot_manager
Get the global shell snapshot manager.