Expand description
Workspace refactoring for OntoCore (v0.8).
Published as ontocore-refactor.
Structs§
Enums§
Functions§
- apply_
refactor_ plan - Apply a refactor plan to disk. When
preview_onlyis true, no files are written. - apply_
refactor_ plan_ checked - Apply plan and return count of files written.
- apply_
refactor_ plan_ checked_ with_ overrides - Apply plan with optional open-buffer overrides used for compare-and-swap.
- find_
usages - Find all usages of
target_iriacross the indexed workspace. - find_
usages_ with_ overrides - Find usages, preferring unsaved document text from
document_overrides. - plan_
touches_ path - plans_
equivalent - Returns true when client-submitted plan matches a server re-preview byte-for-byte.
- preview_
extract_ module - preview_
migrate_ namespace - preview_
move_ entity - preview_
refactor - Preview a refactor. Client-supplied paths (
target_file/output_file) are jailed underworkspace_rootbefore any filesystem read. - preview_
rename_ iri - validate_
refactor_ plan_ paths - Validate every path in a refactor plan is within the workspace jail.