atlas.snapshot_ops.restore_snapshot
Details
Type: function
File: atlas/snapshot_ops.py
Lines: 190–383
Signature: (conn: sqlite3.Connection, config: CodebaseConfig, snapshot_id: str, dry_run: bool=False) -> SnapshotRestoreResult
Docstring
Restore files from a snapshot into the live source tree. A safety snapshot of the current live state is captured before any changes.
Children
| Name | Type | Line |
|---|---|---|
| atlas.snapshot_ops.restore_snapshot.snapshot | attribute | 200 |
| atlas.snapshot_ops.restore_snapshot.codebase_row | attribute | 229 |
| atlas.snapshot_ops.restore_snapshot.current_revision_id | attribute | 232 |
| atlas.snapshot_ops.restore_snapshot.restored_files | attribute | 255 |
| atlas.snapshot_ops.restore_snapshot.skipped_files | attribute | 256 |