Skip to main content

clean_unused_objects

Function clean_unused_objects 

Source
pub fn clean_unused_objects(
    storage: &GameStorage,
    tx: Sender<CleanerEvent>,
) -> Result<()>
Expand description

Remove files in object directories that are not referenced.

This function scans the filesystem once and passes the results to the implementation.