pub fn save_scan( plugins: &[PluginInfo], directories: &[String], roots: &[String], ) -> ScanSnapshot