pub fn select_app_database(dirs: &[PathBuf]) -> Result<PathBuf, String>Expand description
Select the single most likely application database from dirs, excluding WebView
internals.
§Errors
Returns Err with a diagnostic when no application database is found — either no
databases at all, or only WebView/browser-engine internal stores (the error lists
the skipped internals so the caller can tell an agent to register the real DB
directory via db_search_paths or pass an explicit path).