pub fn load(pwd: &str, storage: &mut Storage) -> Result<Self> {
        let left = Self::load_arm(0, pwd, storage)?;
        let right = Self::load_arm(1, pwd, storage)?;

        if left.body.seq == right.body.seq {
            Ok(left)
        } else {
            Err(Error::InvalidSuperBlk)
        }
    }
// load super block from both left and right arm
load super block from both left and right arm
load super block from both left and right arm
pub fn load(pwd: &str, storage: &mut Storage) -> Result<Self> {
        let left = Self::load_arm(0, pwd, storage)?;
        let right = Self::load_arm(1, pwd, storage)?;
        if left.body.seq == right.body.seq {
            Ok(left)
        } else {
            Err(Error::InvalidSuperBlk)
        }
    }
pub fn load ( pwd : & str , storage : & mut Storage ) -> Result < Self > { let left = Self :: load_arm ( 0 , pwd , storage ) ? ; let right = Self :: load_arm ( 1 , pwd , storage ) ? ; if left . body . seq == right . body . seq { Ok ( left ) } else { Err ( Error :: InvalidSuperBlk ) } }
load super block from both left and right arm
load super block from both left and right arm
pwd
&str
storage
&mut Storage
pwd
&str
storage
&mut Storage