Structs§
- Delete
Result - Result of delete_imports call: edits + diagnostic stats.
- Delete
Stats - Diagnostic counters returned alongside delete edits.
- File
Rename - A single file rename: old absolute path → new absolute path.
- Rename
Result - Result of a rename_imports call: edits + diagnostic stats.
- Rename
Stats - Diagnostic counters returned alongside edits so the caller can log them.
Functions§
- apply_
edits_ to_ cache - Apply computed edits to in-memory file content.
- apply_
text_ edits - Apply a set of
TextEdits to a source string and return the new content. - delete_
imports - Compute import-statement removal edits needed when one or more files are deleted.
- expand_
folder_ deletes - Expand delete entries that target folders into per-file paths.
- expand_
folder_ deletes_ from_ paths - Expand delete entries using candidate filesystem paths.
- expand_
folder_ renames - Expand rename entries that target folders into per-file renames.
- expand_
folder_ renames_ from_ paths - Expand folder renames using candidate filesystem paths.
- generate_
scaffold - Generate scaffold content for a new
.solfile. - normalize_
path - Normalize a path by resolving
.and..components without requiring the file to exist on disk (unlikestd::fs::canonicalize). - rename_
imports - Compute import-path edits needed when one or more files are renamed/moved.
- rename_
imports_ single - Backward-compatible wrapper: single rename, used by existing tests.