pub fn clear_caches(
project_root: &Path,
filter: Option<&str>,
) -> Result<Vec<PathBuf>, String>Expand description
Delete cache files. filter restricts the operation to a single
command name; None clears all discovered caches. Empty parent
.fdl/schema-cache/ and .fdl/ dirs are removed when nothing else
lives inside them. Returns the list of removed cache paths.