pub fn default_block() -> Block {
    // Create backing file.
    let f = TempFile::new().unwrap();
    f.as_file().set_len(0x1000).unwrap();

    default_block_with_path(f.as_path().to_str().unwrap().to_string())
}
/// Create a default Block instance to be used in tests.
Create a default Block instance to be used in tests.
Create a default Block instance to be used in tests .
pub fn default_block() -> Block {
    // Create backing file.
    let f = TempFile::new().unwrap();
    f.as_file().set_len(0x1000).unwrap();
    default_block_with_path(f.as_path().to_str().unwrap().to_string())
}
pub fn default_block ( ) -> Block { // Create backing file. let f = TempFile :: new ( ) . unwrap ( ) ; f . as_file ( ) . set_len ( 0x1000 ) . unwrap ( ) ; default_block_with_path ( f . as_path ( ) . to_str ( ) . unwrap ( ) . to_string ( ) ) }
Create a default Block instance to be used in tests.
Create a default Block instance to be used in tests .