Skip to main content

preview_cleanup_imports

Function preview_cleanup_imports 

Source
pub fn preview_cleanup_imports(
    catalog: &OntologyCatalog,
    ontology_file: &Path,
    document_overrides: &HashMap<PathBuf, String>,
    workspace_roots: &[PathBuf],
) -> Result<RefactorPlan>
Expand description

Remove unused owl:imports when none of the imported ontology’s entities are referenced.