Skip to main content

read_snapshot_files

Function read_snapshot_files 

Source
pub fn read_snapshot_files(root: &Path) -> Result<BTreeMap<String, String>>
Expand description

Every *.snap.json under <root>/snapshots/, keyed by its project-relative path with / separators, with its text. A missing folder is empty; an unreadable file is an error.