db.Snapshots Class Reference
Pack utilities for snapshots table.
More...
List of all members.
Detailed Description
Pack utilities for snapshots table.
Definition at line 154 of file db.py.
Member Function Documentation
def db.Snapshots.new_base |
( |
|
timeline, |
|
|
|
timestamp, |
|
|
|
path | |
|
) |
| | |
Adds a new base snapshot.
- Parameters:
-
| timeline,: | timeline the snapshot belongs to |
| timestamp,: | time of the snapshot |
| path,: | path where base snapshot file was stored |
Definition at line 171 of file db.py.
def db.Snapshots.new_delete |
( |
|
timeline, |
|
|
|
timestamp, |
|
|
|
related_to = None | |
|
) |
| | |
Adds a new delete snapshot.
- Parameters:
-
| timeline,: | timeline the snapshot belongs to |
| timestamp,: | time of the snapshot |
| related_to,: | optional, if exists, it indicates the deletion is related to a move operation. Then related_to is the id of the destination timeline |
Definition at line 202 of file db.py.
def db.Snapshots.new_incremental |
( |
|
timeline, |
|
|
|
timestamp, |
|
|
|
path | |
|
) |
| | |
Adds a new incremental snapshot.
- Parameters:
-
| timeline,: | timeline the snapshot belongs to |
| timestamp,: | time of the snapshot |
| path,: | path where incremental snapshot file was stored |
Definition at line 186 of file db.py.
def db.Snapshots.new_move |
( |
|
old_timeline, |
|
|
|
new_timeline, |
|
|
|
timestamp | |
|
) |
| | |
Adds a new move snapshot.
- Parameters:
-
| old_timeline,: | timeline of the previous name |
| new_timeline,: | timeline of the new name |
| timestamp,: | time of the snapshot |
Definition at line 238 of file db.py.
def db.Snapshots.new_rename |
( |
|
old_timeline, |
|
|
|
new_timeline, |
|
|
|
timestamp | |
|
) |
| | |
Adds a new rename snapshot.
- Parameters:
-
| old_timeline,: | timeline of the previous name |
| new_timeline,: | timeline of the new name |
| timestamp,: | time of the snapshot |
Definition at line 220 of file db.py.
The documentation for this class was generated from the following file: