pub fn create_test_tar(entries: Vec<(&str, &[u8])>) -> Vec<u8> ⓘExpand description
Creates an in-memory TAR archive from a list of entries.
Each entry is a tuple of (path, content). Files are created with mode 0o644.
§Examples
use exarch_core::test_utils::create_test_tar;
let tar_data = create_test_tar(vec![("file.txt", b"hello"), ("dir/nested.txt", b"world")]);