storkit: create 441_refactor_deduplicate_get_project_root_wrappers_in_io_modules
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
name: "Deduplicate get_project_root wrappers in io modules"
|
||||||
|
---
|
||||||
|
|
||||||
|
# Refactor 441: Deduplicate get_project_root wrappers in io modules
|
||||||
|
|
||||||
|
## Current State
|
||||||
|
|
||||||
|
- TBD
|
||||||
|
|
||||||
|
## Desired State
|
||||||
|
|
||||||
|
Both `io/shell.rs` and `io/search.rs` contain identical private one-liner wrappers around `state.get_project_root()`. Either inline the call at each usage site or create a single shared helper, then delete the duplicate wrappers.
|
||||||
|
|
||||||
|
## Acceptance Criteria
|
||||||
|
|
||||||
|
- [ ] No duplicate private get_project_root wrappers in io/shell.rs and io/search.rs
|
||||||
|
- [ ] All call sites use the canonical version or inline the call
|
||||||
|
|
||||||
|
## Out of Scope
|
||||||
|
|
||||||
|
- TBD
|
||||||
Reference in New Issue
Block a user