Skip to main content

refresh_objects

Function refresh_objects 

Source
pub fn refresh_objects(
    model: &mut CimDataset,
    ids: &BTreeSet<String>,
    files: &[File<'_>],
) -> Result<usize, String>
Expand description

model with the objects ids decoded again from files as they are now (in the order the model was decoded from them): for an edit that knows the objects it touched, as crate::index::Index::edited tells. The number of objects. An error as refresh’s.