Skip to main content

Crate pkgar

Crate pkgar 

Source

Modules§

ext
Extention traits for base types defined in pkgar-core.

Structs§

MergedTransaction
A struct that helps merging multiple transaction into one. All transactions are validated to make sure there’s no two action holding the same target file.
PackageFile
PackageHead
Transaction
A struct that holds many atomic file operation
TransactionConflict

Enums§

Action
Individual atomic file operation
Error

Functions§

create
Create a new pkgar file with given secret and source path
create_with_flags
Create a new pkgar file with given secret and source path and header flags
extract
Extract a pkgar file to a directory
folder_entries
Iterate a directory and return its entries
list
Print a pkgar file entries path
remove
Remove directory entries from a pkgar file
replace
Update a directory from a pkgar file
split
Split a package file into head and optional data
verify
Split a package file into head and optional data