Skip to main content

Module snapshot

Module snapshot 

Source
Expand description

Layer snapshot creation and extraction

Handles tarball creation from OverlayFS upper layers with compression.

Functions§

calculate_directory_digest
Calculate the SHA256 digest of a directory’s contents (for change detection)
create_snapshot
Create a compressed tarball snapshot from a directory
extract_snapshot
Extract a compressed tarball snapshot to a directory