Skip to main content

read_through

Function read_through 

Source
fn read_through(
    path: &Path,
    open: &mut dyn FnMut(&Path) -> Result<File>,
) -> Result<(Vec<u8>, Metadata)>
Expand description

read_whole_with, each file opened by open (a test replaces the file between its opening and its reading).