collect_file_bytes

Function collect_file_bytes 

Source
pub fn collect_file_bytes(root: &Path) -> BTreeMap<String, Vec<u8>>
Expand description

Collect all file bytes under root, keyed by normalized relative paths.

Paths are normalized to use / separators so snapshots are stable across platforms.