Module write

Module write 

Source
Expand description

APIs to write a tarball stream into an OSTree commit.

This functionality already exists in libostree mostly, this API adds a higher level, more ergonomic Rust frontend to it.

In the future, this may also evolve into parsing the tar stream in Rust, not in C.

Structsยง

TarImportConfig ๐Ÿ”’
WriteTarOptions
Configuration for tar layer commits.
WriteTarResult
The result of writing a tar stream.

Enumsยง

NormalizedPathResult ๐Ÿ”’

Constantsยง

EXCLUDED_TOPLEVEL_PATHS ๐Ÿ”’

Functionsยง

copy_entry ๐Ÿ”’
Copy a tar entry to a new tar archive, optionally using a different filesystem path.
filter_tar ๐Ÿ”’
Perform various filtering on imported tar archives.
filter_tar_async ๐Ÿ”’
Asynchronous wrapper for filter_tar()
normalize_validate_path ๐Ÿ”’
remap_etc_path ๐Ÿ”’
sepolicy_from_base ๐Ÿ”’
write_tar
Write the contents of a tarball as an ostree commit.