Skip to main content

free_up_textures

Function free_up_textures 

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

Free up textures by keeping only the best resolution file and moving it to the base directory.

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