Skip to main content

Module transaction

Module transaction 

Source
Expand description

Transaction representation in alpm-db.

A transactio describes a set of additions and/or removals, that are executed in sequence.

Structsยง

Transaction ๐Ÿ”’
A transaction for an alpm-db.
TransactionPlan ๐Ÿ”’
The plan of a transaction in an alpm-db.
WriteLock ๐Ÿ”’
A file-based lock to prevent concurrent write access to a database.

Enumsยง

Action
An action in a transaction for an alpm-db.
ActionItem ๐Ÿ”’
An action item in a transaction plan for an alpm-db.

Functionsยง

create_entry_component ๐Ÿ”’
Creates a new file handle at path for writing an entry component.
create_transaction_dirs ๐Ÿ”’
Creates all directories required for a transaction to function at path.
paths_on_same_device ๐Ÿ”’
Checks whether path1 and path2 are on the same device.
remove_temp_transaction_dir ๐Ÿ”’
Removes the temporary directory for this transaction.
write_entry_to_dir ๐Ÿ”’
Writes an entry to a directory path.