pub fn default_block(file_engine_type: FileEngineType) -> 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(), file_engine_type)
}
/// 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(file_engine_type: FileEngineType) -> 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(), file_engine_type)
}
pub fn default_block ( file_engine_type : FileEngineType ) -> 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 ( ) , file_engine_type ) }
Create a default Block instance to be used in tests.
Create a default Block instance to be used in tests .
file_engine_type
FileEngineType
file_engine_type
FileEngineType