// unset_and_remove_sandbox_storage unsets the storage from sandbox
// and if there are no containers using this storage it will
// remove it from the sandbox.
//
// It's assumed that caller is calling this method after
// acquiring a lock on sandbox.
unset_and_remove_sandbox_storage unsets the storage from sandbox
and if there are no containers using this storage it will
remove it from the sandbox.

It's assumed that caller is calling this method after
acquiring a lock on sandbox.
unset_and_remove_sandbox_storage unsets the storage from sandbox and if there are no containers using this storage it will remove it from the sandbox . It ' s assumed that caller is calling this method after acquiring a lock on sandbox .
pub fn unset_and_remove_sandbox_storage(&mut self, path: &str) -> Result<()> {
        match self.unset_sandbox_storage(path) {
            Ok(res) => {
                if res {
                    return self.remove_sandbox_storage(path);
                }
            }
            Err(err) => {
                return Err(err);
            }
        }
        Ok(())
    }
pub fn unset_and_remove_sandbox_storage ( & mut self , path : & str ) -> Result < ( ) > { match self . unset_sandbox_storage ( path ) { Ok ( res ) => { if res { return self . remove_sandbox_storage ( path ) ; } } Err ( err ) => { return Err ( err ) ; } } Ok ( ( ) ) }
unset_and_remove_sandbox_storage unsets the storage from sandbox
and if there are no containers using this storage it will
remove it from the sandbox.
unset_and_remove_sandbox_storage unsets the storage from sandbox and if there are no containers using this storage it will remove it from the sandbox .
&mut self
path
&str