pub fn mark_deleted(&self) -> Result<(), LayoutError> {
        let path = self.tombstone();
        let _ = std::fs::File::create(&path).map_err(|err| LayoutError::IoError {
            path,
            message: "Failed to create a file".to_string(),
            io_err: err,
        })?;
        Ok(())
    }
/// Marks this canister as deleted by creating a 'tombstone' file in the
/// canister directory.  Such directories will be excluded when a checkpoint
/// is created.
Marks this canister as deleted by creating a 'tombstone' file in the
canister directory.  Such directories will be excluded when a checkpoint
is created.
Marks this canister as deleted by creating a ' tombstone ' file in the canister directory . Such directories will be excluded when a checkpoint is created .
pub fn mark_deleted(&self) -> Result<(), LayoutError> {
        let path = self.tombstone();
        let _ = std::fs::File::create(&path).map_err(|err| LayoutError::IoError {
            path,
            message: "Failed to create a file".to_string(),
            io_err: err,
        })?;
        Ok(())
    }
pub fn mark_deleted ( & self ) -> Result < ( ) , LayoutError > { let path = self . tombstone ( ) ; let _ = std :: fs :: File :: create ( & path ) . map_err ( | err | LayoutError :: IoError { path , message : " " . to_string ( ) , io_err : err , } ) ? ; Ok ( ( ) ) }
Marks this canister as deleted by creating a 'tombstone' file in the
canister directory.
Marks this canister as deleted by creating a ' tombstone ' file in the canister directory .
&self
&self